ScriptObjectInvokeMethod Method |
Invokes a script object method.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public abstract Object InvokeMethod(
string name,
params Object[] args
)
Public MustOverride Function InvokeMethod (
name As String,
ParamArray args As Object()
) As Object
public:
virtual Object^ InvokeMethod(
String^ name,
... array<Object^>^ args
) abstract
abstract InvokeMethod :
name : string *
args : Object[] -> Object
Parameters
- name String
- The name of the method to invoke.
- args Object
- Optional arguments for method invocation.
Return Value
ObjectThe invocation result value.
Implements
IScriptObjectInvokeMethod(String, Object)See Also