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
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ