DescriptionThe Public keyword is used to set the access level for various types and type members. By including this keyword, the associated type or member can be used by virtually any code within the current assembly, or within other assemblies if the code has been configured for external access. The Public keyword can be used with the following statements:
By default, methods and properties declared within classes have Public access, as do all structure members. See AlsoFor the statements listed above, see the related entries elsewhere in this chapter for usage information. For information on using the Public keyword as a statement, see the entry for the Dim Statement. Friend Keyword, Private Keyword, Protected Keyword |