## Char::IsSurrogatePair(char_t, char_t) method


Détermine si les deux caractères spécifiés forment une paire de substituts UTF-16.

```cpp
static bool System::Char::IsSurrogatePair(char_t highSurrogate, char_t lowSurrogate)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| highSurrogate | char_t | Un caractère qui est testé pour être un surrogat de haut niveau |
| lowSurrogate | char_t | Un caractère qui est testé pour être un surrogat de bas niveau |

### ReturnValue

Vrai si les caractères spécifiés forment une paire de surrogats, sinon - faux

## Voir aussi

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


Détermine si deux caractères consécutifs dans le tampon de caractères spécifié constituent une paire de substituts.

```cpp
static bool System::Char::IsSurrogatePair(const String &str, int index)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| str | const String\& | Une chaîne |
| indice | int | Un indice basé sur zéro dans le tampon spécifié où commence la séquence de caractères à tester |

### ReturnValue

Vrai si les caractères spécifiés forment une paire de substituts, sinon - faux

## Voir aussi

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