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

Definicja

Wywołuje funkcję, którą reprezentuje ten obiekt.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

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

Parametry

thisob
Object

Obiekt, na który działa ta metoda.

thisarg
Object

Bieżący zakres domyślny. Zawarty obiekt zakresu instrukcji with lub zakres globalny.

args
Object[]

Argumenty, które mają być przekazywane do funkcji jako tablicy.

Zwraca

Object

Zwracana wartość wywołania funkcji, którą reprezentuje ten obiekt.

Atrybuty

Dotyczy

Zobacz też