## DateTimeFormatInfo::GetEra method


يحصل على العصر بالاسم.

```cpp
int System::Globalization::DateTimeFormatInfo::GetEra(const String &era_name) const
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| era_name | const String\& | اسم العصر. |

### ReturnValue

فهرس العصر.

## انظر أيضًا

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