Encoding Members
.NET Framework 2.0
Represents a character encoding.
The following tables list the members exposed by the Encoding type.
| Name | Description | |
|---|---|---|
| ASCII | Gets an encoding for the ASCII (7-bit) character set. |
| BigEndianUnicode | Gets an encoding for the UTF-16 format using the big-endian byte order. |
| BodyName | When overridden in a derived class, gets a name for the current encoding that can be used with mail agent body tags. |
| CodePage | When overridden in a derived class, gets the code page identifier of the current Encoding. |
| DecoderFallback | Gets or sets the DecoderFallback object for the current Encoding object. |
| Default | Gets an encoding for the system's current ANSI code page. |
| EncoderFallback | Gets or sets the EncoderFallback object for the current Encoding object. |
| EncodingName | When overridden in a derived class, gets the human-readable description of the current encoding. |
| HeaderName | When overridden in a derived class, gets a name for the current encoding that can be used with mail agent header tags. |
| IsBrowserDisplay | When overridden in a derived class, gets a value indicating whether the current encoding can be used by browser clients for displaying content. |
| IsBrowserSave | When overridden in a derived class, gets a value indicating whether the current encoding can be used by browser clients for saving content. |
| 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. |
| 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. |
| IsReadOnly | When overridden in a derived class, gets a value indicating whether the current encoding is read-only. |
| IsSingleByte | When overridden in a derived class, gets a value indicating whether the current encoding uses single-byte code points. |
| Unicode | Gets an encoding for the UTF-16 format using the little-endian byte order. |
| UTF32 | Gets an encoding for the UTF-32 format using the little-endian byte order. |
| UTF7 | Gets an encoding for the UTF-7 format. |
| UTF8 | Gets an encoding for the UTF-8 format. |
| WebName | When overridden in a derived class, gets the name registered with the Internet Assigned Numbers Authority (IANA) for the current encoding. |
| WindowsCodePage | When overridden in a derived class, gets the Windows operating system code page that most closely corresponds to the current encoding. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Clone | When overridden in a derived class, creates a shallow copy of the current Encoding object. |
| Convert | Overloaded. Converts a byte array from one encoding to another. |
| Equals | Overloaded. Overridden. |
| GetByteCount | Overloaded. When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters. |
| GetBytes | Overloaded. When overridden in a derived class, encodes a set of characters into a sequence of bytes. |
| GetCharCount | Overloaded. When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes. |
| GetChars | Overloaded. When overridden in a derived class, decodes a sequence of bytes into a set of characters. |
| GetDecoder | When overridden in a derived class, obtains a decoder that converts an encoded sequence of bytes into a sequence of characters. |
| GetEncoder | When overridden in a derived class, obtains an encoder that converts a sequence of Unicode characters into an encoded sequence of bytes. |
| GetEncoding | Overloaded. Returns an encoding for the specified code page. |
| GetEncodings | Returns an array containing all encodings. |
| GetHashCode | Overridden. Returns the hash code for the current instance. |
| GetMaxByteCount | When overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters. |
| GetMaxCharCount | When overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes. |
| GetPreamble | When overridden in a derived class, returns a sequence of bytes that specifies the encoding used. |
| GetString | Overloaded. When overridden in a derived class, decodes a sequence of bytes into a string. |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| IsAlwaysNormalized | Overloaded. Gets a value indicating whether the current encoding is always normalized. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Community Additions
ADD
Show: