Class Members

The set of class members consists of the members declared directly in the class body and the members inherited from the parent class.

The members of a class are divided into the following categories:

Members that contain executable code are collectively known as the function members. Function members of a class are the methods, properties, events, and constructors of this class.

A class declaration creates a new declaration space, and the class members declared within this space become members of this declaration space. The following rules apply to class member declarations:

Inherited class members are not part of the declaration space of a class. Thus, a derived class is allowed to declare a member with the same name as a a base class member, which in this case hides the inherited member.

Additional information is contained in the following subsections:

See also:

Classes