Encoding Members
Public Properties
![]() ASCII Supported by the .NET Compact Framework. | Gets an encoding for the ASCII (7 bit) character set. |
![]() BigEndianUnicode Supported by the .NET Compact Framework. | Gets an encoding for the Unicode format in the big-endian byte order. |
BodyName | Gets the name for this encoding that can be used with mail agent body tags. |
CodePage Supported by the .NET Compact Framework. | When overridden in a derived class, gets the code page identifier of this encoding. |
![]() Default Supported by the .NET Compact Framework. | Gets an encoding for the system's current ANSI code page. |
EncodingName | Gets the human-readable description of the encoding. |
HeaderName | Gets the name for this encoding that can be used with mail agent header tags. |
IsBrowserDisplay | Gets an indication whether this encoding can be used for display by browser clients. |
IsBrowserSave | Gets an indication whether this encoding can be used for saving by browser clients. |
IsMailNewsDisplay | Gets and indication whether this encoding can be used for display by mail and news clients. |
IsMailNewsSave | Gets an indication whether this encoding can be used for saving by mail and news clients. |
![]() Unicode Supported by the .NET Compact Framework. | Gets an encoding for the Unicode format in little-endian byte order. |
![]() UTF7 Supported by the .NET Compact Framework. | Gets an encoding for the UTF-7 format. |
![]() UTF8 Supported by the .NET Compact Framework. | Gets an encoding for the UTF-8 format. |
WebName Supported by the .NET Compact Framework. | Gets the name registered with the Internet Assigned Numbers Authority (IANA) for this encoding. |
WindowsCodePage | Gets the Windows operating system code page that most closely corresponds to this encoding. |
Public Methods
![]() Convert Supported by the .NET Compact Framework. | Overloaded. Converts a byte array from one encoding to another. |
Equals Supported by the .NET Compact Framework. | Overridden. Determines whether the current instance and the specified Object represent the same type and value. |
GetByteCount Supported by the .NET Compact Framework. | Overloaded. Calculates the number of bytes required to encode a specified character array. |
GetBytes Supported by the .NET Compact Framework. | Overloaded. Encodes all or part of a specified String or character array into a byte array. |
GetCharCount Supported by the .NET Compact Framework. | Overloaded. Calculates the number of characters produced by decoding an array of bytes. |
GetChars Supported by the .NET Compact Framework. | Overloaded. Decodes a byte array into an array of characters. |
GetDecoder Supported by the .NET Compact Framework. | Returns a Decoder for this encoding. |
GetEncoder Supported by the .NET Compact Framework. | An Encoder for this encoding. |
![]() GetEncoding Supported by the .NET Compact Framework. | Overloaded. Returns an Encoding for the specified code page value or name. |
GetHashCode Supported by the .NET Compact Framework. | Overridden. Returns the hash code for this instance. |
GetMaxByteCount Supported by the .NET Compact Framework. | When overridden in a derived class, returns the maximum number of bytes required to encode a given number of characters. |
GetMaxCharCount Supported by the .NET Compact Framework. | When overridden in a derived class, returns the maximum number of characters produced by decoding a given number of bytes. |
GetPreamble Supported by the .NET Compact Framework. | Returns a set of bytes used at the beginning of a stream to determine which encoding a file was created with. This can include the Unicode byte order mark. |
GetString Supported by the .NET Compact Framework. | Overloaded. Decodes the specified byte array into a string. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
ToString (inherited from Object)
Supported by the .NET Compact Framework. | Returns a String that represents the current Object. |
Protected Constructors
Encoding Constructor Supported by the .NET Compact Framework. | Overloaded. Initializes a new instance of the Encoding class. |
Protected Methods
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
