PrintQueueStream.Write(Byte[], Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將一串位元組寫入串流,並依照寫入的位元組數將資料串流中的讀寫位置推進。
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
寫入串流的位元組數。
- 屬性