FunctionPrototype.apply(Object, Object, Object) Metod

Definition

Anropar funktionen som det här objektet representerar och konverterar det angivna argumentobjektet till en matris med argument om det måste.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

public:
 static System::Object ^ apply(System::Object ^ thisob, System::Object ^ thisarg, System::Object ^ argArray);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Function_apply)]
public static object apply(object thisob, object thisarg, object argArray);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Function_apply)>]
static member apply : obj * obj * obj -> obj
Public Shared Function apply (thisob As Object, thisarg As Object, argArray As Object) As Object

Parametrar

thisob
Object

Det objekt som den här metoden agerar på.

thisarg
Object

Det aktuella standardomfånget. Antingen det inneslutna objektet i ett with -instruktionsomfång eller det globala omfånget.

argArray
Object

Argumenten som ska skickas till funktionen, som en ArgumentsObject eller en ArrayObject.

Returer

Returvärdet för anropet till funktionen som det här objektet representerar.

Attribut

Gäller för

Se även