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

Definitie

Roept de functie aan die dit object vertegenwoordigt.

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

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

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.

args
Object[]

De argumenten die moeten worden doorgegeven aan de functie als een matrix.

Retouren

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

Kenmerken

Van toepassing op

Zie ook