System.Runtime.InteropServices.UCOMIStream.Read Method

Reads a specified number of bytes from the stream object into memory starting at the current seek pointer.

Syntax

public void Read (byte[] pv, int cb, IntPtr pcbRead)

Parameters

pv
On successful return, contains the data read frtom the stream.
cb
The number of bytes to read from the stream object.
pcbRead
Pointer to a ULONG variable that receives the actual number of bytes read from the stream object.

Remarks

For more information, please see the existing documentation for ISequentialStream::Read 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