次の方法で共有


JSInProcessRuntime.InvokeJS メソッド

定義

オーバーロード

InvokeJS(String, String)

同期関数呼び出しを実行します。

InvokeJS(String, String, JSCallResultType, Int64)

同期関数呼び出しを実行します。

InvokeJS(String, String)

ソース:
JSInProcessRuntime.cs
ソース:
JSInProcessRuntime.cs
ソース:
JSInProcessRuntime.cs
ソース:
JSInProcessRuntime.cs
ソース:
JSInProcessRuntime.cs
ソース:
JSInProcessRuntime.cs
ソース:
JSInProcessRuntime.cs

同期関数呼び出しを実行します。

protected:
 abstract System::String ^ InvokeJS(System::String ^ identifier, System::String ^ argsJson);
protected:
 virtual System::String ^ InvokeJS(System::String ^ identifier, System::String ^ argsJson);
protected abstract string InvokeJS (string identifier, string argsJson);
protected virtual string? InvokeJS (string identifier, string? argsJson);
abstract member InvokeJS : string * string -> string
abstract member InvokeJS : string * string -> string
override this.InvokeJS : string * string -> string
Protected MustOverride Function InvokeJS (identifier As String, argsJson As String) As String
Protected Overridable Function InvokeJS (identifier As String, argsJson As String) As String

パラメーター

identifier
String

呼び出す関数の識別子。

argsJson
String

引数の JSON 表現。

戻り値

結果の JSON 表現。

適用対象

InvokeJS(String, String, JSCallResultType, Int64)

ソース:
JSInProcessRuntime.cs
ソース:
JSInProcessRuntime.cs
ソース:
JSInProcessRuntime.cs
ソース:
JSInProcessRuntime.cs
ソース:
JSInProcessRuntime.cs

同期関数呼び出しを実行します。

protected:
 abstract System::String ^ InvokeJS(System::String ^ identifier, System::String ^ argsJson, Microsoft::JSInterop::JSCallResultType resultType, long targetInstanceId);
protected abstract string? InvokeJS (string identifier, string? argsJson, Microsoft.JSInterop.JSCallResultType resultType, long targetInstanceId);
abstract member InvokeJS : string * string * Microsoft.JSInterop.JSCallResultType * int64 -> string
Protected MustOverride Function InvokeJS (identifier As String, argsJson As String, resultType As JSCallResultType, targetInstanceId As Long) As String

パラメーター

identifier
String

呼び出す関数の識別子。

argsJson
String

引数の JSON 表現。

resultType
JSCallResultType

呼び出しで予想される結果の型。

targetInstanceId
Int64

ターゲット JS オブジェクトのインスタンス ID。

戻り値

結果の JSON 表現。

適用対象