DateTimeFormatInfo::FirstDayOfWeek Property
.NET Framework (current version)
Gets or sets the first day of the week.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System::DayOfWeekAn enumeration value that represents the first day of the week. The default for InvariantInfo is DayOfWeek::Sunday.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The property is being set to a value that is not a valid System::DayOfWeek value. |
| InvalidOperationException | The property is being set and the DateTimeFormatInfo object is read-only. |
Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: