System::Char::IsHighSurrogate metodo
Contenuti
[
Nascondere
]Char::IsHighSurrogate(char_t) method
Determina se il carattere specificato è una surrogata alta.
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.Page for C++
Char::IsHighSurrogate(const char_t *, int) method
Determina se il carattere all’indice specificato nel buffer di caratteri specificato è una surrogata alta.
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 | 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.Page for C++
Char::IsHighSurrogate(const String&, int) method
Determina se il carattere all’indice specificato nella stringa specificata è un’unità di codice surrogata alta 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
True se il carattere all’indice specificato è un’unità di codice surrogato alto UTF-16, altrimenti - false
Vedi anche
- Class String
- Class Char
- Namespace System
- Library Aspose.Page for C++