ScriptObjectInvoke Method |
Invokes the script object.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public abstract Object Invoke(
bool asConstructor,
params Object[] args
)
Public MustOverride Function Invoke (
asConstructor As Boolean,
ParamArray args As Object()
) As Object
public:
virtual Object^ Invoke(
bool asConstructor,
... array<Object^>^ args
) abstract
abstract Invoke :
asConstructor : bool *
args : Object[] -> Object
Parameters
- asConstructor Boolean
- True to invoke the object as a constructor, false otherwise.
- args Object
- Optional arguments for object invocation.
Return Value
ObjectThe invocation result value.
Implements
IScriptObjectInvoke(Boolean, Object)See Also