( ) is
Object, ProcName, UseCallType, Args( ))
A reference to the object containing the procedure being called.
The name of the procedure to call.
A constant of the type
CallType indicating what
type of procedure is being called.
constants are listed in the following table.
The called procedure is a method.
The called procedure retrieves a property value.
The called procedure sets the value of a property.
A ParamArray argument representing the arguments required by the procedure being called.
Depends on the return value (if any) of the called procedure
Provides a method for calling a class member by name.
ProcName is a string expression,
rather than the literal name of a routine, it is possible to call
routines dynamically at runtime using a string variable to hold the
various procedure names.
The return type of CallByName is the return type of the called procedure.
ProcName is not case sensitive.
UseCallType can either be a numeric value
or a constant of the
CallType enumeration. In the
latter case, the enumeration name must be specified along with the
constant name, as in CallType.Method.
( ) must be a parameter array. A parameter ...