DateTimeFormatInfo.FirstDayOfWeek Property

July 28, 2014

Gets or sets the first day of the week.

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

'Declaration
Public Property FirstDayOfWeek As DayOfWeek

Property Value

Type: System.DayOfWeek
A System.DayOfWeek value representing the first day of the week. The default for InvariantInfo is Sunday.

ExceptionCondition
ArgumentOutOfRangeException

An attempt was made to set the property to a value that is not a valid System.DayOfWeek value.

InvalidOperationException

The DateTimeFormatInfo object is read-only.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft