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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για