संपादित करें

इसके माध्यम से साझा किया गया


UCOMIStream.Read(Byte[], Int32, IntPtr) Method

Definition

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

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

Parameters

pv
Byte[]

On successful return, contains the data read frtom the stream.

cb
Int32

The number of bytes to read from the stream object.

pcbRead
IntPtr

nativeint

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.

Applies to