This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
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 the specified JavaScript function synchronously.
public:generic <typename TValue> TValue Invoke(System::String ^ identifier, ... cli::array <System::Object ^> ^ args);
public TValue Invoke<TValue>(string identifier, params object?[]? args);
abstract member Invoke : string * obj[] -> 'Value
Public Function Invoke(Of TValue) (identifier As String, ParamArray args As Object()) As TValue
The JSON-serializable return type.
An identifier for the function to invoke. For example, the value"someScope.someFunction"
will invoke the functionsomeScope.someFunction
on the target instance.
JSON-serializable arguments.
An instance ofTValue
obtained by JSON-deserializing the return value.
Was this page helpful?
Was this page helpful?