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.5.4 Class members

The members of a class consist of the members introduced by its class member declarations and the members inherited from its direct base class.

A class member declaration may have public, protected, friend, protected friend or private access. It is an error to specify protected access in a final class. When a class member declaration does not include an access modifier, the declaration defaults to public access, unless it is a data member, which defaults to private access.

The scope of a class member is the class body in which the declaration occurs. If the member has friend access, its scope extends to the class body of any derived class in the same program, and if the member has public, protected, or protected friend access, its scope extends to the class body of any derived class in any program.

ClassMemberDeclaration ::=
 NonModuleDeclarataion |
 EventMemberDeclaration
|
 DataMemberDeclaration
|
 ConstantMemberDeclaration |
 MethodMemberDeclaration |
 PropertyMemberDeclaration
|
 ConstructorMemberDeclaration