This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Encoding Members
Public:
Properties
ASCII |
Returns an encoding for the ASCII character set. |
BigEndianUnicode |
Gets an encoding in the unicode format. |
BodyName |
Returns the name for this encoding that can be used with mail agent body tags. If the encoding may not be used, the string is empty. |
CodePage |
When implemented by a subclass, this property contains the code page identifier of this encoding. |
Default |
Obtains an encoding for the system's current ANSI code page. |
EncodingName |
Returns the human-readable description of the encoding (e.g. Hebrew (DOS)). |
HeaderName |
Returns the name for this encoding that can be used with mail agent header tags. If the encoding may not be used, the string is empty. |
IsBrowserDisplay |
[To be supplied.] |
IsBrowserSave |
[To be supplied.] |
IsMailNewsDisplay |
[To be supplied.] |
IsMailNewsSave |
[To be supplied.] |
Unicode |
Gets an encoding for unicode format. |
UTF7 |
Gets an encoding for the UTF-7 format. |
UTF8 |
Gets an encoding for the UTF-8 format. |
WebName |
Returns the array of IANA-registered names for this encoding. If there is an IANA preferred name, it is the first name in the array. |
WindowCodePage |
Returns the windows code page that most closely corresponds to this encoding. |
Methods
Convert |
Overloaded. Converts a byte array from one encoding to another. |
Equals |
[To be supplied.] |
GetByteCount |
Overloaded. Obtains the number of bytes required to encode a specified character array. |
GetBytes |
Overloaded. Returns a byte array containing the encoded representation of the given character array. |
GetCharCount |
Overloaded. Returns the number of characters required to decode an array of bytes. |
GetChars |
Overloaded. Decodes a range of bytes in an array into an array of characters. |
GetDecoder |
Returns a decoder object for this instance of encoding. |
GetEncoder |
Returns an encoder object for this instance of encoding. The encoder object can be used to encode a sequence of characters into bytes. |
GetEncoding |
Overloaded. [To be supplied.] |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetMaxByteCount |
When overridden in a derived class, returns the maximum number of bytes required to encode a given number of characters. |
GetMaxCharCount |
When overridden in a derived class, returns the maximum number of characters produced by decoding a given number of bytes. |
GetString |
Overloaded. Decodes the specified byte array into a string. |
GetType (inherited from Object) |
Gets the Type of the Object. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
Constructor
Methods
BufferOverflow |
Returns an ArgumentException with an error message indicating a conversion buffer overflow. Subclasses can use this method when throwing an exception to indicate a buffer overflow. |
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
Encoding Class | System.Text Namespace