## DateTimeFormatInfo::GetEra method


Ottiene l'era per nome.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| era_name | const String\& | Nome dell'era. |

### ReturnValue

Indice dell'era.

## Vedi anche

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