Property Set Statement
[Public | Private Property Set
statements] [Exit Property] [
statements] End Property
Makes the property accessible from outside the class, so that it is
visible to all procedures in all scripts.
Private are mutually exclusive.
Restricts the scope of the property to code within the
Class...End Class construct in which the property
are mutually exclusive.
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.
Data Subtype: Object
The last (or only) argument in
must be a variable containing the object reference to be assigned to
Program code to be executed within the property.
arglistuses the following syntax and parts:
[ByVal | ByRef]
varname[( )] _ ByVal
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. All changes made to
the local variable are reflected in the calling argument when control
returns to the calling procedure.
ByRef is the
default method of passing variables.