DateTimeFormatInfo..::..AbbreviatedMonthNames Property
Gets or sets a one-dimensional string array that contains the culture-specific abbreviated names of the months.
Namespace:
System.GlobalizationAssembly: Bridge (in Bridge.dll)
Syntax
[FieldPropertyAttribute] public string[] AbbreviatedMonthNames { get; set; }
<FieldPropertyAttribute> _ Public Property AbbreviatedMonthNames As String() Get Set
[FieldPropertyAttribute] public: property array<String^>^ AbbreviatedMonthNames { array<String^>^ get (); void set (array<String^>^ value); }
Return Value
A one-dimensional string array with 13 elements that contains the culture-specific abbreviated names of the months. For 12-month calendars, the 13th element of the array is an empty string. The array for InvariantInfo contains "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", and "".Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The property is being set to null. |
System..::..ArgumentException | The property is being set to an array that is multidimensional or that has a length that is not exactly 13. |
System..::..InvalidOperationException | The property is being set and the DateTimeFormatInfo object is read-only. |