O'Reilly logo

Microsoft® Visual Basic® 2010 Developer’s Handbook by Klaus Löffelmann and Sarika Calla Purohit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Specifying Variable Scope with Access Modifiers

Access modifiers are keywords in Visual Basic that specify the scope of a variable. This means the segment of the application that can access the variable. You’ve already learned about the access modifiers Private and Public, which specify whether an element can be accessed only from within a specific scope (Private) or from anywhere (Public). The tables in the following sections present additional access modifiers that are available for objects, classes, and functions/properties.

Note

These tables are meant to show you the available access modifiers in a compact and clearly arranged form. You need the CTS label for the access modifiers when looking at the IML code of a class to determine, for example, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required