Click or drag to resize

ScriptObjectInvoke Method

Invokes the script object.

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax
public abstract Object Invoke(
	bool asConstructor,
	params Object[] args
)

Parameters

asConstructor  Boolean
True to invoke the object as a constructor, false otherwise.
args  Object
Optional arguments for object invocation.

Return Value

Object
The invocation result value.

Implements

IScriptObjectInvoke(Boolean, Object)
See Also