Microsoft® Visual Basic® Scripting Edition Terminate Event |
Language Reference Version 5
|
Occurs when an instance of the associated class is terminated.
Private Sub classname_Terminate()
statements
End SubThe Terminate 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 terminated.