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