IDataWriter Interface

Ermöglicht den Schreibzugriff auf einen Ausgabestream.

Syntax


public interface IDataWriter

Attribute

[Version(0x06020000)]

Member

IDataWriterSchnittstelle hat diese Membertypen:

Methoden

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

MethodeBeschreibung
DetachBuffer Detaches a buffer that was previously attached to the writer.
DetachStream Detaches a stream that was previously attached to the writer.
FlushAsync Flushes data asynchronously.
MeasureString Gets the size of a string.
StoreAsync Commits data in the buffer to a backing store.
WriteBoolean Writes a Boolean value to the output stream.
WriteBuffer(IBuffer) Writes a number of bytes from a buffer to the output stream.
WriteBuffer(IBuffer, UInt32, UInt32) Writes a range of bytes from a buffer to the output stream.
WriteByte Writes a byte value to the output stream.
WriteBytes Writes an array of byte values to the output stream.
WriteDateTime Writes a date and time value to the output stream.
WriteDouble Writes a floating-point value to the output stream.
WriteGuid Writes a GUID value to the output stream.
WriteInt16 Writes a 16-bit integer value to the output stream.
WriteInt32 Writes a 32-bit integer value to the output stream.
WriteInt64 Writes a 64-bit integer value to the output stream.
WriteSingle Write a floating-point value to the output stream.
WriteString Writes a string value to the output stream.
WriteTimeSpan Writes a time interval value to the output stream.
WriteUInt16 Writes a 16-bit unsigned integer value to the output stream.
WriteUInt32 Writes a 32-bit unsigned integer value to the output stream.
WriteUInt64 Writes a 64-bit unsigned integer value to the output stream.

 

Eigenschaften

Der IDataWriterSchnittstelle hat diese Eigenschaften.

EigenschaftZugriffstypBeschreibung

ByteOrder

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

UnicodeEncoding

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

UnstoredBufferLength

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

 

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