ScriptFunction.Invoke(Object, Object[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invokes a method of the prototype-based object, passing in the specified arguments.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
System::Object ^ Invoke(System::Object ^ thisob, ... cli::array <System::Object ^> ^ args);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject | Microsoft.JScript.JSFunctionAttributeEnum.HasVarArgs)]
public object Invoke (object thisob, params object[] args);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject | Microsoft.JScript.JSFunctionAttributeEnum.HasVarArgs)>]
member this.Invoke : obj * obj[] -> obj
Public Function Invoke (thisob As Object, ParamArray args As Object()) As Object
Parameters
- thisob
- Object
The object that this method is acting upon.
- args
- Object[]
The arguments to pass to the method.
Returns
The result of the call to the method.
- Attributes
Remarks
Invoke often acts as a constructor or create instance call.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.