System.Runtime.InteropServices.UCOMIStream.Write Method

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

Syntax

public void Write (byte[] pv, int cb, IntPtr pcbWritten)

Parameters

pv
Buffer to write this stream to.
cb
The number of bytes to write into the stream.
pcbWritten
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.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0