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 tableau d’arguments s’il en a.

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

Étendue par défaut actuelle. Objet contenu d’une étendue d’instruction with ou étendue globale.

argArray
Object

Arguments à passer à la fonction, sous la forme d’un ou d’un ArgumentsObjectArrayObject.

Retours

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

Attributs

S’applique à

Voir aussi