This method is obsolete. See the Remarks section below. |
Description
Calls the specified method of the Obj object.
Declaration
BuiltIn.CallMethod(Obj, MethodName, Param1, Param2, ...)
Obj | [in] | Required | Variant | |
MethodName | [in] | Required | String | |
Param1 | [in] | Optional | Variant | |
Param2 | [in] | Optional | Variant | ... |
Result | Variant |
Applies To
The method is applied to the following object:
Parameters
The method has the following parameters:
Obj
The object whose method you want to call.
MethodName
The name of the method to be called.
Param1, Param2, ..., ParamN
Specify the corresponding parameters of the method to be called.
Result Value
If the MethodName method is a function, CallMethod
returns its result value. Else, CallMethod
returns a varEmpty
Variant variable.
Remarks
This method is obsolete. It is supported for backward compatibility only. To work with objects, use the aqObject.CallMethod
method.
See Also
CallMethod Method
GetPropertyValue Method
SetPropertyValue Method
IsSupported Method