IDataReader Interface

Ermöglicht Lesezugriff auf einen Eingabestream.

Syntax


public interface IDataReader

Attribute

[Version(0x06020000)]

Member

IDataReaderSchnittstelle hat diese Membertypen:

Methoden

The IDataReader Schnittstelle hat diese Methoden. Es erbt auch Methoden von Object Klasse.

MethodeBeschreibung
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.

 

Eigenschaften

Der IDataReaderSchnittstelle hat diese Eigenschaften.

EigenschaftZugriffstypBeschreibung

ByteOrder

Lese-/SchreibzugriffGets or sets the byte order of the data in the input stream.

InputStreamOptions

Lese-/SchreibzugriffGets or sets the read options for the input stream.

UnconsumedBufferLength

SchreibgeschütztGets the size of the buffer that has not been read.

UnicodeEncoding

Lese-/SchreibzugriffGets or sets the Unicode character encoding for the input stream.

 

Anforderungen

Mindestens unterstützter Client

Windows 8

Mindestens unterstützter Server

Windows Server 2012

Mindestens unterstütztes Telefon

Windows Phone 8

Namespace

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

Metadaten

Windows.winmd

 

 

Anzeigen:
© 2015 Microsoft