accessmodifier] [Shadows] [inheritability] Class Name
Indicates that the
Name class shadows any
element of this same name in a base class.
One of the keywords,
NotInheritable, must be used.
MustInherit specifies that objects of this class
cannot be created, but that objects of derived classes can be
NotInheritable specifies that this class
cannot be used as a base class.
Name(required; String literal)
The name of the class.
Defines a class and delimits the statements that define that class’ variables, properties, and methods. For a detailed discussion with examples, see Chapter 4.
statements appear in a class module, they must appear before any
other statements in the module. Moreover, the
Inherits keyword must appear before the
Name follows standard Visual Basic
Within a class code block, members are declared as
Dim keyword is equivalent to
Private when used in class modules (but it is
Public in structures). Property
declarations are automatically
Class construct can include the following ...