UTF8Encoding Constructor
Collapse the table of content
Expand the table of content

UTF8Encoding Constructor

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

Initializes a new instance of the UTF8Encoding class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method UTF8Encoding() Initializes a new instance of the UTF8Encoding class.
Public method UTF8Encoding(Boolean) Initializes a new instance of the UTF8Encoding class. A parameter specifies whether to provide a Unicode byte order mark.
Public method UTF8Encoding(Boolean, Boolean) Initializes a new instance of the UTF8Encoding class. Parameters specify whether to provide a Unicode byte order mark and whether to throw an exception when an invalid encoding is detected.
Top

Show:
© 2017 Microsoft