Méthode System::Char::IsHighSurrogate
Contenu
[
Cacher
]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ètre | Type | Description |
|---|---|---|
| c | char_t | Le caractère à tester |
ReturnValue
Vrai si le caractère spécifié est un surrogate haut, sinon - faux
Voir aussi
- Class Char
- Namespace System
- Library Aspose.Font for C++
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ètre | Type | Description |
|---|---|---|
| str | const char_t * | Pointeur vers le début du tampon de caractères |
| idx | int | Un 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
- Class Char
- Namespace System
- Library Aspose.Font for C++
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ètre | Type | Description |
|---|---|---|
| s | const String& | Une chaîne |
| indice | int | L’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
- Class String
- Class Char
- Namespace System
- Library Aspose.Font for C++