## Char::IsSurrogate(char_t) method


Bepaalt of het opgegeven teken een UTF-16 surrogate code-eenheid is.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| c | char_t | Een teken |

### ReturnValue

True als het opgegeven teken een UTF-16-surrogatecode-eenheid is, anders - false

## Zie ook

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


Bepaalt of het teken op de opgegeven index in de opgegeven tekenreeks een UTF-16 surrogate code-eenheid is.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| s | const String\& | Een string |
| index | int | De index van het teken in de opgegeven string |

### ReturnValue

True als het teken op de opgegeven index een UTF-16-surrogatecode-eenheid is, anders - false

## Zie ook

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