Share via


FunctionPrototype.call(Object, Object, Object[]) Metodo

Definizione

Chiama la funzione rappresentata dall'oggetto.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

public:
 static System::Object ^ call(System::Object ^ thisob, System::Object ^ thisarg, ... cli::array <System::Object ^> ^ args);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject | Microsoft.JScript.JSFunctionAttributeEnum.HasVarArgs, Microsoft.JScript.JSBuiltin.Function_call)]
public static object call (object thisob, object thisarg, params object[] args);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject | Microsoft.JScript.JSFunctionAttributeEnum.HasVarArgs, Microsoft.JScript.JSBuiltin.Function_call)>]
static member call : obj * obj * obj[] -> obj
Public Shared Function call (thisob As Object, thisarg As Object, ParamArray args As Object()) As Object

Parametri

thisob
Object

Oggetto su cui agisce questo metodo.

thisarg
Object

Ambito predefinito corrente. Oggetto contenuto dell'ambito di un'istruzione with oppure l'ambito globale.

args
Object[]

Argomenti da passare alla funzione come matrice.

Restituisce

Valore restituito della chiamata alla funzione rappresentata da questo oggetto.

Attributi

Si applica a

Vedi anche