Charset Members
Include Protected Members
Include Inherited Members
The Charset class exposes information about a character set.
The Charset type exposes the following members.
Properties
Name | Description | |
---|---|---|
ASCII | The ASCII property gets a Charset object representing the ASCII character set. | |
CodePage | The CodePage property gets the code page number for the character set that this Charset object represents. | |
Culture | The Culture property gets the read-only Culture object for this Charset object. | |
DefaultMimeCharset | The DefaultMimeCharset property gets the MIME character set that is used to represent text in the default culture. | |
DefaultWebCharset | The DefaultWebCharset property gets the Web character set that is used to represent text in the default culture. | |
DefaultWindowsCharset | The DefaultWindowsCharset property gets the windows character set that is used to represent text in the default culture. | |
Description | The Description property returns an English language description of the character set represented by this Charset object. | |
IsAvailable | The IsAvailable property gets a Boolean value that indicates whether the character set represented by this Charset object is installed and available for encoding and decoding. | |
IsDetectable | The IsDetectable property gets a Boolean value that indicates whether the character set represented by this Charset object can be detected by the OutboundCodePageDetector class. | |
IsWindowsCharset | The IsWindowsCharset property gets a Boolean value that indicates whether the character set represented by this Charset object is a Windows character set. | |
Name | The Name property returns the default name of the character set that is represented by this Charset object. | |
Unicode | The Unicode property gets a Charset object that represents the Unicode character set. | |
UTF8 | The UTF8 property gets a Charset object that represents the UTF-8 character set. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetCharset(Int32) | The GetCharset method returns a read-only Charset object that represents the character set specified by the codePage parameter. | |
GetCharset(String) | The GetCharset method returns a read-only Charset object that represents the character set specified by the name parameter. | |
GetEncoding() | The GetEncoding method returns the Encoding for the character set that this Charset object represents. | |
GetEncoding(Int32) | The GetEncoding method returns an Encoding object for the specified code page. | |
GetEncoding(String) | The GetEncoding method returns an Encoding object for the specified character set name. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
TryGetCharset(Int32, Charset) | The TryGetCharset method attempts to put a Charset object into the charset out parameter that corresponds to the codePage parameter. TryGetCharset does not throw an exception if it fails. | |
TryGetCharset(String, Charset) | The TryGetCharset method attempts to put a Charset object into the charset out parameter that corresponds to the name parameter. TryGetCharset does not throw an exception if it fails. | |
TryGetEncoding(Encoding) | The TryGetEncoding attempts to put the Encoding for the character set that this Charset object represents into the encoding out parameter. TryGetEncoding does not throw an exception if it fails. | |
TryGetEncoding(Int32, Encoding) | The TryGetEncoding method attempts to put the Encoding object for the character set specified by the codePage parameter into the encoding out parameter. | |
TryGetEncoding(String, Encoding) | The TryGetEncoding method attempts to get a Encoding object for the character set specified by the name parameter. |
Top