MonoWebAssemblyJSRuntime.InvokeJS(String, String) 方法

定义

执行同步函数调用。

protected:
 override System::String ^ InvokeJS(System::String ^ identifier, System::String ^ argsJson);
protected override string InvokeJS (string identifier, string argsJson);
override this.InvokeJS : string * string -> string
Protected Overrides Function InvokeJS (identifier As String, argsJson As String) As String

参数

identifier
String

要调用的函数的标识符。

argsJson
String

参数的 JSON 表示形式。

返回

结果的 JSON 表示形式。

适用于