System::Char::IsSurrogate method
محتويات
[
يخفي
]Char::IsSurrogate(char_t) method
يحدد ما إذا كان الحرف المحدد وحدة رمز بديلة UTF-16.
static bool System::Char::IsSurrogate(char_t c)
| Parameter | Type | الوصف |
|---|---|---|
| c | char_t | حرف |
ReturnValue
صحيح إذا كان الحرف المحدد وحدة شفرة بديلة UTF-16، وإلا - خطأ
انظر أيضًا
- Class Char
- Namespace System
- Library Aspose.Page for C++
Char::IsSurrogate(const String&, int) method
يحدد ما إذا كان الحرف الموجود في الفهرس المحدد في السلسلة المحددة وحدة رمز بديلة UTF-16.
static bool System::Char::IsSurrogate(const String &s, int index)
| Parameter | Type | الوصف |
|---|---|---|
| s | const String& | سلسلة نصية |
| الفهرس | int | فهرس الحرف في السلسلة المحددة |
ReturnValue
صحيح إذا كان الحرف في الفهرس المحدد وحدة شفرة بديلة UTF-16، وإلا - خطأ
انظر أيضًا
- Class String
- Class Char
- Namespace System
- Library Aspose.Page for C++