Share via


JSObjectReference(JSRuntime, Int64) 建構函式

定義

初始化新的 JSObjectReference 執行個體。

protected public:
 JSObjectReference(Microsoft::JSInterop::JSRuntime ^ jsRuntime, long id);
protected internal JSObjectReference (Microsoft.JSInterop.JSRuntime jsRuntime, long id);
new Microsoft.JSInterop.Implementation.JSObjectReference : Microsoft.JSInterop.JSRuntime * int64 -> Microsoft.JSInterop.Implementation.JSObjectReference
Protected Friend Sub New (jsRuntime As JSRuntime, id As Long)

參數

jsRuntime
JSRuntime

JSRuntime用於叫用 JS Interop 呼叫的 。

id
Int64

唯一識別碼。

適用於