Mono Class Library: System.Globalization.DateTimeFormatInfo Overview | MembersSystem.Globalization.DateTimeFormatInfo.MonthNames Property |
Gets or sets a one-dimensional array of type string containing the culture-specific full names of the months. [Edit]
|
A one-dimensional array of type string containing the full names of the months. For cultures with 12-month calendars the 13th element of the array is an empty string. [Edit]
Type Reason ArgumentNullException The value specified for a set operation is a null reference. [Edit] ArgumentException The value specified for a set operation is not an array with exactly 13 elements. [Edit] InvalidOperationException The current instance is read-only and a set operation was attempted. [Edit]
The array specified in a set operation is required be one-dimensional and have exactly 13 elements.
The property value of the culture invariant DateTimeFormatInfo.MonthNames is a string array that contains "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" and "".
Note: The array returned by this property has 13 elements to support calendars with 13 months.[Edit]
Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0