(Inherits from MfObject)
Retrieves information about a Unicode character. This class cannot be inherited.
All methods are static.
Name |
Description |
|
Throws MfNotSupportedException if class instance is created. |
Name |
Description |
|
Gets the digit value of the specified numeric character. |
||
Gets the digit value of the specified numeric character for the character in string s at the location of Zero-based index. |
||
Gets the digit value of the specified numeric character. |
||
Gets the digit value of the specified for the numeric character in string s at the location of Zero-based index. |
||
Converts the specified numeric Unicode character to a decimal number. |
||
Converts the specified numeric Unicode character to a decimal number for the character in string s at the location of Zero-based index. |
||
Categorizes a specified Unicode character into a group identified by one of the MfUnicodeCategory values for c. |
||
Categorizes a specified Unicode character into a group identified by one of the MfUnicodeCategory values for the character in string s at the location of Zero-based index. |
The Unicode Standard defines a number of Unicode character categories. For example, a character might be categorized as an uppercase letter, a lowercase letter, a decimal digit number, a letter number, a paragraph separator, a math symbol, or a currency symbol. Your application can use the character category to govern string-based operations, such as parsing. The UnicodeCategory enumeration defines the possible character categories.
You use the MfCharUnicodeInfo class to obtain the UnicodeCategory value for a specific character. The CharUnicodeInfo class defines methods that return the following Unicode character values:
When using this class in your applications, keep in mind the following programming considerations for using the MfChar type. The type can be difficult to use, and strings are generally preferable for representing linguistic content.