IDataReader interface
Provides read access to an input stream.
Syntax
Attributes
- GuidAttribute("e2b50029-b4c1-4314-a4b8-fb813a2f275e")
- VersionAttribute(NTDDI_WIN8)
Members
The IDataReader interface has these types of members:
Methods
The IDataReader interface has these methods. It also inherits methods from the Object class.
| Method | Description |
|---|---|
| DetachBuffer | Detaches a buffer that was previously attached to the reader. |
| DetachStream | Detaches a stream that was previously attached to the reader. |
| LoadAsync | Loads data from the input stream. |
| ReadBoolean | Reads a Boolean value from the input stream. |
| ReadBuffer | Reads a buffer from the input stream. |
| ReadByte | Reads a byte value from the input stream. |
| ReadBytes | Reads an array of byte values from the input stream. |
| ReadDateTime | Reads a date and time value from the input stream. |
| ReadDouble | Reads a floating-point value from the input stream. |
| ReadGuid | Reads a GUID value from the input stream. |
| ReadInt16 | Reads a 16-bit integer value from the input stream. |
| ReadInt32 | Reads a 32-bit integer value from the input stream. |
| ReadInt64 | Reads a 64-bit integer value from the input stream. |
| ReadSingle | Reads a floating-point value from the input stream. |
| ReadString | Reads a string value from the input stream. |
| ReadTimeSpan | Reads a time interval from the input stream. |
| ReadUInt16 | Reads a 16-bit unsigned integer from the input stream. |
| ReadUInt32 | Reads a 32-bit unsigned integer from the input stream. |
| ReadUInt64 | Reads a 64-bit unsigned integer from the input stream. |
Properties
The IDataReader interface has these properties.
| Property | Access type | Description |
|---|---|---|
| Read/write | Gets or sets the byte order of the data in the input stream. | |
| Read/write | Gets or sets the read options for the input stream. | |
| Read-only | Gets the size of the buffer that has not been read. | |
| Read/write | Gets or sets the Unicode character encoding for the input stream. |
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
Build date: 2/25/2013