Export (0) Print
Expand All


The Public keyword confers public access on one or more declared programming elements. There are no restrictions on the accessibility of public elements.

The Public keyword is used in these contexts:

Class Statement

Const Statement

Declare Statement

Delegate Statement

Dim Statement

Enum Statement

Event Statement

Function Statement

Interface Statement

Module Statement

Property Statement

Structure Statement

Sub Statement

See Also

Accessibility | Procedures | Structures: Your Own Data Types | Understanding Classes

© 2014 Microsoft