Mono Class Library: System.Globalization.DateTimeFormatInfo Overview | Members

System.Globalization.DateTimeFormatInfo.AbbreviatedMonthNames Property

Gets or sets a one-dimensional array of type string containing the culture-specific abbreviated names of the months. [Edit]

public string[] AbbreviatedMonthNames { set; get; }

Value

A one-dimensional array of type string containing the abbreviated names of the months. For cultures with 12-month calendars the 13th element of the array is an empty string. [Edit]

Exceptions

TypeReason
ArgumentNullExceptionThe value specified for a set operation is a null reference. [Edit]
ArgumentExceptionThe value specified for a set operation is not an array with exactly 13 elements. [Edit]
InvalidOperationExceptionThe current instance is read-only and a set operation was attempted. [Edit]

Remarks

The Array specified in a set operation is required to be one-dimensional and have exactly 13 elements.

The property value of the culture invariant DateTimeFormatInfo.AbbreviatedMonthNames is a string array that contains "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" and "".

Note: The array returned by this property has 13 elements to support calendars with 13 months.

[Edit]

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0