Edit

Share via


UCOMIStream.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[]

Buffer to write this stream to.

cb
Int32

The number of bytes to write into the stream.

pcbWritten
IntPtr

nativeint

On successful return, contains the actual number of bytes written to the stream object. The caller can set this pointer to null, in which case this method does not provide the actual number of bytes written.

Remarks

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

Applies to