Object Programming
|
Class...End Class Statement |
Defines a class |
|
CreateObject Function |
Returns a reference to a COM component |
|
For Each...Next Statement |
Iterates through a collection or array of objects or values, returning a reference to each of the members |
|
Function Statement |
If used with the Public keyword, defines a public method of a class |
|
GetObject Function |
Returns a reference to an ActiveX object |
|
GetRef Function |
Returns a reference to a procedure that can be defined as an object’s event handler |
|
Initialize Event |
Fired when a class is first instantiated |
|
Is Operator |
Compares two object references to determine whether they are identical |
|
Property Get Statement |
Returns the value of a property |
|
Property Let Statement |
Sets the value of a property |
|
Property Set Statement |
Assigns an object reference to a property |
|
Set Statement |
Assigns an object reference to an object variable |
|
Sub Statement |
If used with the Public keyword, defines a public method of a class |
|
Terminate Event |
Fired when the last reference to an instance of a class is destroyed |
|
With...End With Statement |
Allows the implicit use of an object reference |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access