## GregorianCalendar::GetMonthsInYear(int) const method


معلومات RTTI.

```cpp
virtual int System::Globalization::Calendar::GetMonthsInYear(int year) const
```

## انظر أيضًا

* Class [GregorianCalendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Page for C++](../../../)
## GregorianCalendar::GetMonthsInYear(int, int) const method


يحصل على عدد الأشهر في السنة المحددة.

```cpp
int System::Globalization::GregorianCalendar::GetMonthsInYear(int year, int era) const override
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| السنة | int | السنة للحصول على عدد الأشهر فيها. |
| العصر | int | العصر. |

### ReturnValue

عدد الأشهر في السنة المحددة من العصر المحدد.

## انظر أيضًا

* Class [GregorianCalendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Page for C++](../../../)
