COMCharStream.Write(Byte[], Int32, Int32) 方法

定義

將指定的位元組資料寫入至資料流。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 override void Write(cli::array <System::Byte> ^ buffer, int offset, int count);
public override void Write (byte[] buffer, int offset, int count);
override this.Write : byte[] * int * int -> unit
Public Overrides Sub Write (buffer As Byte(), offset As Integer, count As Integer)

參數

buffer
Byte[]

要複製到目前資料流的位元組資料陣列。

offset
Int32

buffer 中以零起始的位元組位移,即開始將位元組複製到目前資料流的位置。

count
Int32

要從 buffer 複製到目前資料流的位元組數目。

適用於

另請參閱