Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
UnicodeEncoding Members

UnicodeEncoding Members

Represents a UTF-16 encoding of Unicode characters.

The UnicodeEncoding type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework UnicodeEncoding Overloaded. Initializes a new instance of the UnicodeEncoding class.
Top

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clone When overridden in a derived class, creates a shallow copy of the current Encoding object. (Inherited from Encoding.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current UnicodeEncoding object. (Overrides Encoding.Equals(Object).)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetByteCount Overloaded. Calculates the number of bytes produced by encoding a set of characters.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetBytes Overloaded. Encodes a set of characters into a sequence of bytes.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetCharCount Overloaded. Calculates the number of characters produced by decoding a sequence of bytes.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetChars Overloaded. Decodes a sequence of bytes into a set of characters.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetDecoder Obtains a decoder that converts a UTF-16 encoded sequence of bytes into a sequence of Unicode characters. (Overrides Encoding.GetDecoder().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetEncoder Obtains an encoder that converts a sequence of Unicode characters into a UTF-16 encoded sequence of bytes. (Overrides Encoding.GetEncoder().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Returns the hash code for the current instance. (Overrides Encoding.GetHashCode().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetMaxByteCount Calculates the maximum number of bytes produced by encoding the specified number of characters. (Overrides Encoding.GetMaxByteCount(Int32).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetMaxCharCount Calculates the maximum number of characters produced by decoding the specified number of bytes. (Overrides Encoding.GetMaxCharCount(Int32).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetPreamble Returns a Unicode byte order mark encoded in UTF-16 format, if the constructor for this instance requests a byte order mark. (Overrides Encoding.GetPreamble().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetString Overloaded. Decodes a sequence of bytes into a string.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method IsAlwaysNormalized Overloaded. Gets a value indicating whether the current encoding is always normalized.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public field Static member Supported by the .NET Compact Framework Supported by the XNA Framework CharSize Represents the Unicode version 2.0 character size in bytes. This field is a constant.
Top

  NameDescription
Public property BodyName When overridden in a derived class, gets a name for the current encoding that can be used with mail agent body tags. (Inherited from Encoding.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CodePage When overridden in a derived class, gets the code page identifier of the current Encoding. (Inherited from Encoding.)
Public property DecoderFallback Gets or sets the DecoderFallback object for the current Encoding object. (Inherited from Encoding.)
Public property EncoderFallback Gets or sets the EncoderFallback object for the current Encoding object. (Inherited from Encoding.)
Public property EncodingName When overridden in a derived class, gets the human-readable description of the current encoding. (Inherited from Encoding.)
Public property HeaderName When overridden in a derived class, gets a name for the current encoding that can be used with mail agent header tags. (Inherited from Encoding.)
Public property IsBrowserDisplay When overridden in a derived class, gets a value indicating whether the current encoding can be used by browser clients for displaying content. (Inherited from Encoding.)
Public property IsBrowserSave When overridden in a derived class, gets a value indicating whether the current encoding can be used by browser clients for saving content. (Inherited from Encoding.)
Public property IsMailNewsDisplay When overridden in a derived class, gets a value indicating whether the current encoding can be used by mail and news clients for displaying content. (Inherited from Encoding.)
Public property IsMailNewsSave When overridden in a derived class, gets a value indicating whether the current encoding can be used by mail and news clients for saving content. (Inherited from Encoding.)
Public property IsReadOnly When overridden in a derived class, gets a value indicating whether the current encoding is read-only. (Inherited from Encoding.)
Public property IsSingleByte When overridden in a derived class, gets a value indicating whether the current encoding uses single-byte code points. (Inherited from Encoding.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework WebName When overridden in a derived class, gets the name registered with the Internet Assigned Numbers Authority (IANA) for the current encoding. (Inherited from Encoding.)
Public property WindowsCodePage When overridden in a derived class, gets the Windows operating system code page that most closely corresponds to the current encoding. (Inherited from Encoding.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft