IStream.Read(Byte[], Int32, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for