FunctionPrototype.apply(Object, Object, Object) Metodo
Definizione
Chiama la funzione rappresentata da questo oggetto, convertendo l'oggetto argomento specificato in una matrice di argomenti, se necessario.Calls the function that this object represents, converting the specified argument object to an array of arguments if it has to.
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.
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
Parametri
- thisob
- Object
Oggetto su cui agisce questo metodo.The object that this method is acting upon.
- thisarg
- Object
Ambito predefinito corrente.The current default scope. Oggetto contenuto dell'ambito di un'istruzione with
oppure l'ambito globale.Either the contained object of a with
statement scope, or the global scope.
- argArray
- Object
Argomenti da passare alla funzione, come oggetto ArgumentsObject o ArrayObject.The arguments to pass to the function, as an ArgumentsObject or an ArrayObject.
Restituisce
Valore restituito della chiamata alla funzione rappresentata da questo oggetto.The return value of the call to the function that this object represents.
- Attributi