DateTimeFormatInfo..::..FirstDayOfWeek Property
Gets or sets the first day of the week.
Namespace:
System.GlobalizationAssembly: 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
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | The property is being set to a value that is not a valid DayOfWeek value. |
System..::..InvalidOperationException | The property is being set and the DateTimeFormatInfo object is read-only. |