UnicodeEncoding Constructor

 

Initializes a new instance of the UnicodeEncoding class.

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

NameDescription
System_CAPS_pubmethodUnicodeEncoding()

Initializes a new instance of the UnicodeEncoding class.

System_CAPS_pubmethodUnicodeEncoding(Boolean, Boolean)

Initializes a new instance of the UnicodeEncoding class. Parameters specify whether to use the big endian byte order and whether the GetPreamble method returns a Unicode byte order mark.

System_CAPS_pubmethodUnicodeEncoding(Boolean, Boolean, Boolean)

Initializes a new instance of the UnicodeEncoding class. Parameters specify whether to use the big endian byte order, whether to provide a Unicode byte order mark, and whether to throw an exception when an invalid encoding is detected.

Return to top
Show: