FirstDayOfWeek Property

DateTimeFormatInfo.FirstDayOfWeek Property


Gets or sets the first day of the week.

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

public DayOfWeek FirstDayOfWeek { get; set; }

Property Value

Type: System.DayOfWeek

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

Exception Condition

The property is being set to a value that is not a valid System.DayOfWeek value.


The property is being set and the DateTimeFormatInfo object is read-only.

This property is affected if the value of the Calendar property changes.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
© 2015 Microsoft