System::Char::IsSurrogate méthode

Char::IsSurrogate(char_t) method

Détermine si le caractère spécifié est une unité de code surrogat UTF-16.

static bool System::Char::IsSurrogate(char_t c)
ParamètreTypeDescription
cchar_tUn caractère

ReturnValue

Vrai si le caractère spécifié est une unité de code substitut UTF-16, sinon - false

Voir aussi

Char::IsSurrogate(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 surrogat UTF-16.

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

ReturnValue

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

Voir aussi