Microsoft® Visual Basic® Scripting Edition Initialize Event |
Language Reference Version 5
|
Occurs when an instance of the associated class is created.
Private Sub classname_Initialize()
statements
End SubThe Initialize event has these parts:
Part Description classname Required. Name of the class defined using the Class statement. statements Optional. Code to be run when the class is initialized.