System::Globalization::CharUnicodeInfo::GetDigitValue method
محتويات
[
يخفي
]CharUnicodeInfo::GetDigitValue(char16_t) method
يحصل على قيمة الرقم للحرف المحدد.
static int System::Globalization::CharUnicodeInfo::GetDigitValue(char16_t ch)
| معامل | نوع | الوصف |
|---|---|---|
| ch | char16_t | حرف يونيكود. |
ReturnValue
قيمة الرقم أو -1 إذا لم يكن الحرف المحدد رقمًا.
انظر أيضًا
- Class CharUnicodeInfo
- Namespace System::Globalization
- Library Aspose.Font for C++
CharUnicodeInfo::GetDigitValue(const String&, int) method
يحصل على قيمة الرقم للحرف في الفهرس المحدد من السلسلة.
static int System::Globalization::CharUnicodeInfo::GetDigitValue(const String &str, int index)
| معامل | نوع | الوصف |
|---|---|---|
| str | const String& | السلسلة التي تحتوي على حرف يونيكود. |
| الفهرس | int | فهرس الحرف Unicode. |
ReturnValue
قيمة الرقم أو -1 إذا لم يكن الحرف المحدد رقمًا.
انظر أيضًا
- Class String
- Class CharUnicodeInfo
- Namespace System::Globalization
- Library Aspose.Font for C++