Bridge

DateTimeFormatInfo..::..MonthNames Property

Gets or sets a one-dimensional array of type String containing the culture-specific full names of the months.

Namespace:  System.Globalization
Assembly:  Bridge (in Bridge.dll)

Syntax


[FieldPropertyAttribute]
public string[] MonthNames { get; set; }
<FieldPropertyAttribute> _
Public Property MonthNames As String()
	Get
	Set
[FieldPropertyAttribute]
public:
property array<String^>^ MonthNames {
	array<String^>^ get ();
	void set (array<String^>^ value);
}

Return Value

A one-dimensional array of type String containing the culture-specific full names of the months. In a 12-month calendar, the 13th element of the array is an empty string. The array for InvariantInfo contains "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", and "".

Exceptions


ExceptionCondition
System..::..ArgumentNullExceptionThe property is being set to null.
System..::..ArgumentExceptionThe property is being set to an array that is multidimensional or that has a length that is not exactly 13.
System..::..InvalidOperationExceptionThe property is being set and the DateTimeFormatInfo object is read-only.