## 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.Page for C++](../../../)
