Méthode System::Char::IsHighSurrogate

Char::IsHighSurrogate(char_t) method

Détermine si le caractère spécifié est un substitut haut.

static bool System::Char::IsHighSurrogate(char_t c)
ParamètreTypeDescription
cchar_tLe caractère à tester

ReturnValue

Vrai si le caractère spécifié est un surrogate haut, sinon - faux

Voir aussi

Char::IsHighSurrogate(const char_t *, int) method

Détermine si le caractère à l’index spécifié dans le tampon de caractères spécifié est un substitut haut.

static bool System::Char::IsHighSurrogate(const char_t *str, int idx)
ParamètreTypeDescription
strconst char_t *Pointeur vers le début du tampon de caractères
idxintUn indice basé sur zéro dans le tampon spécifié du caractère à tester

ReturnValue

Vrai si le caractère à l’index spécifié est un surrogate haut, sinon - faux

Voir aussi

Char::IsHighSurrogate(const String&, int) method

Détermine si le caractère à l’index spécifié dans la chaîne spécifiée est une unité de code substitut haut UTF-16.

static bool System::Char::IsHighSurrogate(const String &s, int index)
ParamètreTypeDescription
sconst String&Une chaîne
indiceintL’index dans la chaîne spécifiée du caractère à tester

ReturnValue

Vrai si le caractère à l’index spécifié est une unité de code surrogate haut UTF-16, sinon - faux

Voir aussi