NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

7.3.1 Enumeration members

The members of an enumeration are the enumerated values declared in the enumeration and the members inherited from class System.Enum.

The scope of an enumeration member is from the textual position of its declaration to the end of the enumeration declaration body. This means that outside of an enumeration declaration, an enumeration member must always be qualified (unless the type is specifically imported into a namespace through a namespace import).

Declaration order for enumeration member declarations is significant when constant expression values are omitted. Enumeration members implicitly have public access; no access modifiers are allowed on enumeration member declarations.

EnumMemberName ::= QualifiedIdentifier
EnumMemberDeclaration ::= [ Attributes ] Identifier [ = ConstantExpression ] LineTerminator