## Char::IsSurrogate(char_t) method


Determina se il carattere specificato è un'unità di codice surrogate UTF-16.

```cpp
static bool System::Char::IsSurrogate(char_t c)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| c | char_t | Un carattere |

### ReturnValue

True se il carattere specificato è un'unità di codice surrogato UTF-16, altrimenti - false

## Vedi anche

* Class [Char](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
## Char::IsSurrogate(const String\&, int) method


Determina se il carattere all'indice specificato nella stringa specificata è un'unità di codice surrogate UTF-16.

```cpp
static bool System::Char::IsSurrogate(const String &s, int index)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| s | const String\& | Una stringa |
| indice | int | L'indice del carattere nella stringa specificata |

### ReturnValue

True se il carattere all'indice specificato è un'unità di codice surrogato UTF-16, altrimenti - false

## Vedi anche

* Class [String](../../string/)
* Class [Char](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
