Click or drag to resize

ScriptObjectInvoke Method

Invokes the script object.

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

Parameters

asConstructor
Type: SystemBoolean
True to invoke the object as a constructor, false otherwise.
args
Type: SystemObject
Optional arguments for object invocation.

Return Value

Type: Object
The invocation result value.
See Also