IStream.Write(Byte[], Int32, IntPtr) 方法

定義

從當前尋道指標開始,將指定數量的位元組寫入串流物件。

public:
 void Write(cli::array <System::Byte> ^ pv, int cb, IntPtr pcbWritten);
public void Write(byte[] pv, int cb, IntPtr pcbWritten);
abstract member Write : byte[] * int * nativeint -> unit
Public Sub Write (pv As Byte(), cb As Integer, pcbWritten As IntPtr)

參數

pv
Byte[]

寫入這串流的緩衝區。

cb
Int32

寫入串流的位元組數。

pcbWritten
IntPtr

nativeint

一個指向 uint 變數的指標,此方法會寫入串流物件的實際位元組數。 呼叫者可以將此指標設為 Zero,此時此方法不會提供實際寫入的位元組數。

備註

欲了解更多資訊,請參閱 現有的 ISequentialStream::Write 文件。

適用於