Click or drag to resize

ScriptEngineInvoke Method

Invokes a global function or procedure.

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.5
Syntax
public Object Invoke(
	string funcName,
	params Object[] args
)

Parameters

funcName
Type: SystemString
The name of the global function or procedure to invoke.
args
Type: SystemObject
Optional invocation arguments.

Return Value

Type: Object
The return value if a function was invoked, an undefined value otherwise.
See Also