Bridge

DateTimeFormatInfo..::..DayNames Property

Gets or sets a one-dimensional string array that contains the culture-specific full names of the days of the week.

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

Syntax


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

Return Value

A one-dimensional string array that contains the culture-specific full names of the days of the week. The array for InvariantInfo contains "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", and "Saturday".

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 7.
System..::..InvalidOperationExceptionThe property is being set and the DateTimeFormatInfo object is read-only.