System::Globalization::CharUnicodeInfo::GetUnicodeCategory metod

CharUnicodeInfo::GetUnicodeCategory(char16_t) method

Hämtar Unicode-kategorin för tecknet.

static UnicodeCategory System::Globalization::CharUnicodeInfo::GetUnicodeCategory(char16_t ch)
ParameterTypeBeskrivning
chchar16_tUnicode-tecken.

ReturnValue

Unicode-kategori.

Se även

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

Hämtar Unicode-kategorin för tecknet på det angivna indexet i strängen.

static UnicodeCategory System::Globalization::CharUnicodeInfo::GetUnicodeCategory(const String &str, int index)
ParameterTypeBeskrivning
strconst String&Strängen som innehåller unicode-tecken.
indexintIndexet för unicode-tecknet.

ReturnValue

Unicode-kategori.

Se även