Enumeration Modifiers

Enumeration type declarations may include a modifiers sequence.

enum-modifiers:

enum-modifier

enum-modifiers   enum-modifier

enum-modifier:

Public

Friend

Modifiers for enumeration types have the same values as for classes.

Example

Public Enum GlobalEnum
    World, Country, City
End Enum GlobalEnum;

Friend Enum EnumForAssembly
    Assembly = 1000, Form = 100, Module = 10
End Enum EnumForAssembly;

See also:

Enumeration Types