Class name 'statements End Class
Data Type: n/a
The name of the class
Defines a class and delimits the statements that define that class’s member variables, properties, and methods.
name follows standard Visual
Basic variable naming conventions.
statements can consist of the
Private variable definitions. These variables are accessible within the class but not outside it.
Public variable definitions. (If variables are
declared using the
keyword without an explicit indication of their
accessibility, they are Public by default.) These variables
become public properties of the class.
Public functions and subroutines defined with the
Sub...End Sub statements. The
scope of routines not explicitly defined by the
Private keywords is public by
default. These routines become the public methods of the
Private function and subroutines defined with the
Sub...End Sub statements. They are
visible within the
Class code block, but not to code outside the
Public properties defined using the
Property Get, and
Property Set statements.
Properties defined without an explicit
Private statement are also Public
by default. They, along with any public variables, form the
public properties of the class.
Private properties defined using the
Set statements. They are visible within ...