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 surrogat haut, sinon - false
Voir aussi
- Class Char
- Namespace System
- Library Aspose.Page 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 zéro‑basé dans le tampon spécifié du caractère à tester |
ReturnValue
Vrai si le caractère à l’index spécifié est un surrogat haut, sinon - false
Voir aussi
- Class Char
- Namespace System
- Library Aspose.Page 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 de 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’indice 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 surrogat haut UTF-16, sinon - false
Voir aussi
- Class String
- Class Char
- Namespace System
- Library Aspose.Page for C++