FunctionPrototype::call Method (Object^, Object^, array<Object^>^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Calls the function that this object represents.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::None | JSFunctionAttributeEnum::HasThisObject | JSFunctionAttributeEnum::HasVarArgs, 
	JSBuiltin::Function_call)]
static Object^ call(
	Object^ thisob,
	Object^ thisarg,
	... array<Object^>^ args
)

Parameters

thisob
Type: System::Object^

The object that this method is acting upon.

thisarg
Type: System::Object^

The current default scope. Either the contained object of a with statement scope, or the global scope.

args
Type: array<System::Object^>^

The arguments to pass to the function as an array.

Return Value

Type: System::Object^

The return value of the call to the function that this object represents.

.NET Framework
Available since 1.1
Return to top
Show: