GetUnicodeCategory()

CharUnicodeInfo::GetUnicodeCategory(char16_t) method

Gets unicode category of the character.

static UnicodeCategory System::Globalization::CharUnicodeInfo::GetUnicodeCategory(char16_t ch)

Arguments

ParameterTypeDescription
chchar16_tUnicode character.

Return Value

Unicode category.

CharUnicodeInfo::GetUnicodeCategory(const String&, int) method

Gets unicode category of the character at the specified index of the string.

static UnicodeCategory System::Globalization::CharUnicodeInfo::GetUnicodeCategory(const String &str, int index)

Arguments

ParameterTypeDescription
strconst String&The string containing unicode character.
indexintThe index of the unicode character.

Return Value

Unicode category.

See Also