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 a ULONG
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.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om