Metodo System::Char::IsHighSurrogate
Contenuti
[
Nascondere
]Char::IsHighSurrogate(char_t) method
Determina se il carattere specificato è un high surrogate.
static bool System::Char::IsHighSurrogate(char_t c)
| Parametro | Tipo | Descrizione |
|---|---|---|
| c | char_t | Il carattere da testare |
ReturnValue
True se il carattere specificato è un surrogato alto, altrimenti - false
Vedi anche
- Class Char
- Namespace System
- Library Aspose.Font for C++
Char::IsHighSurrogate(const char_t *, int) method
Determina se il carattere all’indice specificato nel buffer di caratteri specificato è un high surrogate.
static bool System::Char::IsHighSurrogate(const char_t *str, int idx)
| Parametro | Tipo | Descrizione |
|---|---|---|
| str | const char_t * | Puntatore all’inizio del buffer di caratteri |
| idx | int | Un indice basato su zero nel buffer specificato del carattere da testare |
ReturnValue
True se il carattere all’indice specificato è un surrogato alto, altrimenti - false
Vedi anche
- Class Char
- Namespace System
- Library Aspose.Font for C++
Char::IsHighSurrogate(const String&, int) method
Determina se il carattere all’indice specificato nella stringa specificata è una unità di codice surrogate alto UTF-16.
static bool System::Char::IsHighSurrogate(const String &s, int index)
| Parametro | Tipo | Descrizione |
|---|---|---|
| s | const String& | Una stringa |
| indice | int | L’indice nella stringa specificata del carattere da testare |
ReturnValue
Vero se il carattere all’indice specificato è un’unità di codice surrogate alto UTF-16, altrimenti - false
Vedi anche
- Class String
- Class Char
- Namespace System
- Library Aspose.Font for C++