The Get event is triggered whenever the value of a class variable is retrieved. The main purpose is to return the result of calculations. In that case the Get event has the purpose of a macro.
Syntax scalar | |||
Function Get(Value) As Void | |||
Syntax list | |||
Function Get(Index, Value) As Void | |||
Parameter | |||
Name |
Type |
Passing |
Description |
Index |
Long |
ByVal |
Index of the value to be retrieved in the list |
Value |
Type-specific |
ByRef |
The value of the variable. Because the parameter is ByRef, it is possible to return a different value. |