IStream.Write(Byte[], Int32, IntPtr) Method

Definition

Writes a specified number of bytes into the stream object starting at the current seek pointer.

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)

Parameters

pv
Byte[]

The buffer to write this stream to.

cb
Int32

The number of bytes to write to the stream.

pcbWritten
IntPtr

On successful return, contains the actual number of bytes written to the stream object. If the caller sets this pointer to Zero, this method does not provide the actual number of bytes written.

Remarks

For more information, see the existing documentation for ISequentialStream::Write in the MSDN Library.

Applies to