DataWriter.DataWriter(IOutputStream) constructor

Applies to Windows and Windows Phone

Creates and initializes a new instance of the data writer to an output stream.

Syntax


var dataWriter = new Windows.Storage.Streams.DataWriter(outputStream);

Parameters

outputStream

Type: IOutputStream

The new output stream instance.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

See also

DataWriter
DataWriter()

 

 

Show:
© 2014 Microsoft