Property Get Statement
[Public [Default] | Private Property Get
expression] [Exit Property] [
expression] End Property
Makes the property accessible from outside the class, giving it scope
through all procedures in all scripts.
Private are mutually exclusive.
Used only with the
Public keyword to indicate that
a public property is the default property of the class.
Restricts the scope of the property to those procedures within the
Class...End Class code block.
Private are mutually
The name of the property.
Data Subtype: Any
A comma-delimited list of variables to be passed to the property as arguments from the calling procedure.
Program code to be executed within the property.
Variant Subtype: Any
The value to return from the property to the calling procedure.
arglisthas the following syntax:
[ByVal | ByRef]
The argument is passed by value; that is, a local copy of the variable is assigned the value of the argument.
The argument is passed by reference; that is, the local variable is
simply a reference to the argument being passed. Changes made to the
local variable are reflected in the argument.
ByRef is the default way of passing variables.