此主题尚未评级 - 评价此主题

IDataReader Interface

提供对输出流的读取访问权。

语法


public interface class IDataReader

特性

[Version(0x06020000)]

成员

IDataReader接口 具有这些类型的成员:

方法

The IDataReader 接口 具有这些方法。 它还继承方法于Object 类.

方法说明
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.

 

属性

IDataReader接口 具有这些属性。

属性访问类型说明

ByteOrder

读/写Gets or sets the byte order of the data in the input stream.

InputStreamOptions

读/写Gets or sets the read options for the input stream.

UnconsumedBufferLength

只读Gets the size of the buffer that has not been read.

UnicodeEncoding

读/写Gets or sets the Unicode character encoding for the input stream.

 

要求

最低支持客户端

Windows 8

最低支持服务器

Windows Server 2012

最低支持电话

Windows Phone 8

命名空间

Windows.Storage.Streams
Windows::Storage::Streams [C++]

元数据

Windows.winmd

 

 

显示:
© 2014 Microsoft. 版权所有。