Skip to main content
DataWriter.UnicodeEncoding | unicodeEncoding property

Applies to Windows and Windows Phone

Gets or sets the Unicode character encoding for the output stream.

Syntax


var unicodeEncoding = dataWriter.unicodeEncoding;
dataWriter.unicodeEncoding = unicodeEncoding;

public UnicodeEncoding UnicodeEncoding { get; set; }

Public Property UnicodeEncoding As UnicodeEncoding

public:
property UnicodeEncoding UnicodeEncoding { 
   UnicodeEncoding get();
   void set (UnicodeEncoding value);
}

Property value

Type: UnicodeEncoding

One of the enumeration values.

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