Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
|---|---|---|
![]() ![]() |
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. |
![]() ![]() |
GetCharset(Encoding) | Returns an object that corresponds to the character set encoded using the associated encoding. |
![]() |
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. |
![]() ![]() |
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. |
![]() ![]() |
TryGetCharset(Encoding, Charset) | Returns an object that corresponds to a character set as an out parameter that is encoded by the associated encoding and does not throw an exception if the character set can't be retrieved. |
![]() |
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
.gif)
.gif)
.gif)