CallByName Function — Microsoft.VisualBasic.Interaction
CallByName(Object, ProcName, UseCallType, Args
( ))
Object
required; ObjectA reference to the object containing the procedure being called.
ProcName
required; StringThe name of the procedure to call.
UseCallType
required; CallType
constantA constant of type CallType
indicating what type
of procedure is being called. The CallType
constants are:
Constant |
Value |
Description |
|
1 |
The called procedure is a method |
|
2 |
The called procedure retrieves a property value |
|
4 |
The called procedure sets the value of a property |
Args
optional; anyA ParamArray argument representing the arguments required by the procedure being called.