## CharUnicodeInfo::GetDigitValue(char16_t) method


يحصل على قيمة الرقم للحرف المحدد.

```cpp
static int System::Globalization::CharUnicodeInfo::GetDigitValue(char16_t ch)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| ch | char16_t | حرف يونيكود. |

### ReturnValue

قيمة الرقم أو -1 إذا لم يكن الحرف المحدد رقمًا.

## انظر أيضًا

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


يحصل على القيمة الرقمية للحرف في الفهرس المحدد في السلسلة.

```cpp
static int System::Globalization::CharUnicodeInfo::GetDigitValue(const String &str, int index)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| str | const String\& | السلسلة التي تحتوي على حرف يونيكود. |
| الفهرس | int | فهرس الحرف يونيكود. |

### ReturnValue

قيمة الرقم أو -1 إذا لم يكن الحرف المحدد رقمًا.

## انظر أيضًا

* Class [String](../../../system/string/)
* Class [CharUnicodeInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Page for C++](../../../)
