Share via


JSRuntime.SendByteArray(Int32, Byte[]) 方法

定義

將位元組陣列從 .NET 傳輸到 JS。

protected internal virtual void SendByteArray (int id, byte[] data);
abstract member SendByteArray : int * byte[] -> unit
override this.SendByteArray : int * byte[] -> unit
Protected Friend Overridable Sub SendByteArray (id As Integer, data As Byte())

參數

id
Int32

要傳輸之位元組陣列的不可部分完成遞增識別碼。

data
Byte[]

要傳送至 JS 的位元組陣列。

適用於