طريقة System::Globalization::Calendar::GetMonthsInYear

Calendar::GetMonthsInYear(int) const method

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

virtual int System::Globalization::Calendar::GetMonthsInYear(int year) const
معاملنوعالوصف
السنةintالسنة للحصول على عدد الأشهر فيها.

ReturnValue

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

انظر أيضًا

Calendar::GetMonthsInYear(int, int) const method

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

virtual int System::Globalization::Calendar::GetMonthsInYear(int year, int era) const
معاملنوعالوصف
السنةintالسنة للحصول على عدد الأشهر فيها.
العصرintالعصر.

ReturnValue

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

انظر أيضًا