Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetMonthsInYear Method

Calendar.GetMonthsInYear Method

When overridden in a derived class, returns the number of months in the specified year.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method GetMonthsInYear(Int32) Returns the number of months in the specified year in the current era.
Public method GetMonthsInYear(Int32, Int32) When overridden in a derived class, returns the number of months in the specified year in the specified era.
Top

Community Additions

ADD
Show:
© 2015 Microsoft