Unicode Property
Collapse the table of content
Expand the table of content

Encoding::Unicode Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets an encoding for the UTF-16 format using the little-endian byte order.

Namespace:  System.Text
Assembly:  mscorlib (in mscorlib.dll)

No code example is currently available or this language may not be supported.

Property Value

Type: System.Text::Encoding
A Encoding for the UTF-16 format using the little-endian byte order.

For a discussion of little-endian byte order, see the Encoding class topic.

The following code example determines the number of bytes required to encode a character array, encodes the characters, and displays the resulting bytes.

No code example is currently available or this language may not be supported.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft