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

定義

將位元組序列寫入資料流,並依寫入的位元組數將資料流中的讀取/寫入位置往前移。

public:
 override void Write(cli::array <System::Byte> ^ buffer, int offset, int count);
[System.Security.SecurityCritical]
public override void Write (byte[] buffer, int offset, int count);
public override void Write (byte[] buffer, int offset, int count);
[<System.Security.SecurityCritical>]
override this.Write : byte[] * int * int -> unit
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

要寫入資料流中的位元組數目。

屬性

適用於