Mono Class Library: System.Char Overview | Members

System.Char.GetUnicodeCategory Method

Determines the System.Globalization.UnicodeCategory of the character at the specified position in the specified string . [Edit]

public static System.Globalization.UnicodeCategory GetUnicodeCategory (string s, int index)

Parameters

s
A string. [Edit]
index
A int that specifies the position of a character in s. [Edit]

Returns

The System.Globalization.UnicodeCategory of the char at position index in s. [Edit]

Exceptions

TypeReason
ArgumentNullExceptions is a null reference. [Edit]
ArgumentOutOfRangeExceptionThe value of index is less than zero, or greater than or equal to the length of s. [Edit]

Remarks

Note: For more information regarding Unicode categories, see System.Globalization.UnicodeCategory.
[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0