FunctionPrototype::apply Method (Object^, Object^, Object^)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Calls the function that this object represents, converting the specified argument object to an array of arguments if it has to.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
public: [JSFunctionAttribute(JSFunctionAttributeEnum::HasThisObject, JSBuiltin::Function_apply)] static Object^ apply( Object^ thisob, Object^ thisarg, Object^ argArray )
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.
- argArray
-
Type:
System::Object^
The arguments to pass to the function, as an ArgumentsObject or an ArrayObject.
Return Value
Type: System::Object^The return value of the call to the function that this object represents.
.NET Framework
Available since 1.1
Available since 1.1
Show: