FunctionPrototype.apply(Object, Object, Object) Método
Definição
Chamará a função que este objeto representa, convertendo o objeto de argumento especificado em uma matriz de argumentos, se ele precisar fazer isso.Calls the function that this object represents, converting the specified argument object to an array of arguments if it has to.
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.
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
Parâmetros
- thisob
- Object
O objeto no qual este método está atuando.The object that this method is acting upon.
- thisarg
- Object
O escopo padrão atual.The current default scope. O objeto contido de um escopo da instrução with ou o escopo global.Either the contained object of a with statement scope, or the global scope.
- argArray
- Object
Os argumentos a serem passados para a função, como um ArgumentsObject ou um ArrayObject.The arguments to pass to the function, as an ArgumentsObject or an ArrayObject.
Retornos
O valor retornado da chamada para a função que este objeto representa.The return value of the call to the function that this object represents.
- Atributos