FunctionPrototype.apply(Object, Object, Object) Methode

Definitie

Roept de functie aan die dit object vertegenwoordigt, waarbij het opgegeven argumentobject wordt geconverteerd naar een matrix met argumenten als dat wel moet.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

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

Parameters

thisob
Object

Het object waarop deze methode handelt.

thisarg
Object

Het huidige standaardbereik. Het ingesloten object van een with instructiebereik of het globale bereik.

argArray
Object

De argumenten die moeten worden doorgegeven aan de functie, als een ArgumentsObject of een ArrayObject.

Retouren

De retourwaarde van de aanroep naar de functie die dit object vertegenwoordigt.

Kenmerken

Van toepassing op

Zie ook