Class statement
Declare the name of a class and define the variables, attributes, and methods that constitute the class.
Class Name
Statements
End Class
Parameters
Name
Required.ClassAccording to the standard variable naming conventions.
Statements
Required. One or more statements are definedClass.
Description
InClassThe Member is declaredPrivateOrPublic. If it is declared as PrivateClassThe block is visible. Declared as Public not onlyClassThe block is visible inside.ClassCode outside of the block is also visible. Not usedPrivateOrPublicExplicitly stated by default:Public. It is declaredPublicProcess (SubOrFunction.PublicVariables will become attributes of the class.Property Get,Property LetAndProperty SetExplicitly declared attributes are the same. The default attributes and methods of classes are used in their Declaration section.DefaultKeyword. For more information about how to use this keyword, see the topic of a separate statement.
Requirements
Version 5