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

Definition

Anropar funktionen som det här objektet representerar.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

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

Parametrar

thisob
Object

Det objekt som den här metoden agerar på.

thisarg
Object

Det aktuella standardomfånget. Antingen det inneslutna objektet i ett with -instruktionsomfång eller det globala omfånget.

args
Object[]

Argumenten som ska skickas till funktionen som en matris.

Returer

Returvärdet för anropet till funktionen som det här objektet representerar.

Attribut

Gäller för

Se även