Share via


FunctionPrototype.apply(Object, Object, Object) Méthode

Définition

Appelle la fonction que cet objet représente, en convertissant l'objet d'argument spécifié en un tableau d'arguments, si nécessaire.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

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

Paramètres

thisob
Object

Objet sur lequel cette méthode agit.

thisarg
Object

Portée par défaut actuelle. Objet contenu d'une portée de l'instruction with ou portée globale.

argArray
Object

Arguments à passer à la fonction, comme ArgumentsObject ou ArrayObject.

Retours

Object

Valeur de retour de l'appel à la fonction que cet objet représente.

Attributs

S’applique à

Voir aussi