IScriptEngineInvoke Method |
Invokes a global function or procedure.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax Object Invoke(
string funcName,
params Object[] args
)
Function Invoke (
funcName As String,
ParamArray args As Object()
) As Object
Object^ Invoke(
String^ funcName,
... array<Object^>^ args
)
abstract Invoke :
funcName : string *
args : Object[] -> Object
Parameters
- funcName String
- The name of the global function or procedure to invoke.
- args Object
- Optional invocation arguments.
Return Value
ObjectThe return value if a function was invoked, an undefined value otherwise.
See Also