System.Globalization.CharUnicodeInfo Class

Retrieves information about a Unicode character. This class cannot be inherited.

See Also: CharUnicodeInfo Members

Syntax

public static class CharUnicodeInfo

Remarks

The tp://go.microsoft.com/fwlink/?linkid=37123 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 System.Globalization.UnicodeCategory enumeration defines the possible character categories.

You use the System.Globalization.CharUnicodeInfo class to obtain the System.Globalization.UnicodeCategory value for a specific character. The System.Globalization.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 char type. The type can be difficult to use, and strings are generally preferable for representing linguistic content.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0