Szerkesztés

Megosztás a következőn keresztül:


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

When this method returns, contains the data read from the stream. This parameter is passed uninitialized.

cb
Int32

The number of bytes to read from the stream object.

pcbRead
IntPtr

nativeint

A pointer to an uint variable that receives the actual number of bytes read from the stream object.

Remarks

For more information, see the existing documentation for ISequentialStream::Read.

Applies to