NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

UnicodeEncoding Constructor (Boolean, Boolean)

Initializes a new instance of the UnicodeEncoding class using flags.

[Visual Basic]
Overloads Public Sub New( _
   ByVal bigEndian As Boolean, _
   ByVal byteOrderMark As Boolean _
)
[C#]
public UnicodeEncoding(
   bool bigEndian,
   bool byteOrderMark
);
[C++]
public: UnicodeEncoding(
   bool bigEndian,
   bool byteOrderMark
);
[JScript]
public function UnicodeEncoding(
   bigEndian : Boolean,
   byteOrderMark : Boolean
);

Parameters

bigEndian
true to translate the string using the big-endian ordering; false to translate the string using the little-endian ordering.
byteOrderMark
true to include the byte order mark Unicode code point in the translated string; otherwise, false.

See Also

UnicodeEncoding Class | UnicodeEncoding Members | System.Text Namespace | UnicodeEncoding Constructor Overload List