COMCharStream.Write(Byte[], Int32, Int32) COMCharStream.Write(Byte[], Int32, Int32) COMCharStream.Write(Byte[], Int32, Int32) COMCharStream.Write(Byte[], Int32, Int32) Method

定義

將指定的位元組資料寫入至資料流。Writes the specified byte data to the stream.

此 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[]

要複製到目前資料流的位元組資料陣列。An array of byte data to copy to the current stream.

offset
Int32 Int32 Int32 Int32

buffer 中以零起始的位元組位移,即開始將位元組複製到目前資料流的位置。The zero-based byte offset in buffer at which to begin copying bytes to the current stream.

count
Int32 Int32 Int32 Int32

要從 buffer 複製到目前資料流的位元組數目。The number of bytes to copy from buffer to the current stream.

適用於

另請參閱