COMCharStream.Write(Byte[], Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將指定的位元組資料寫入串流。
此 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 哪個位元組複製到目前串流。