Bridge

DateTimeFormatInfo..::..FirstDayOfWeek Property

Gets or sets the first day of the week.

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

Syntax


[FieldPropertyAttribute]
public int FirstDayOfWeek { get; set; }
<FieldPropertyAttribute> _
Public Property FirstDayOfWeek As Integer
	Get
	Set
[FieldPropertyAttribute]
public:
property int^ FirstDayOfWeek {
	int^ get ();
	void set (int^ value);
}

Return Value

An enumeration value that represents the first day of the week. The default for InvariantInfo is Sunday.

Exceptions


ExceptionCondition
System..::..ArgumentOutOfRangeExceptionThe property is being set to a value that is not a valid DayOfWeek value.
System..::..InvalidOperationExceptionThe property is being set and the DateTimeFormatInfo object is read-only.