DateTimeFormatInfo.FirstDayOfWeek Property


Gets or sets the first day of the week.

 property DayOfWeek FirstDayOfWeek { DayOfWeek get(); void set(DayOfWeek value); };
public DayOfWeek FirstDayOfWeek { get; set; }
member this.FirstDayOfWeek : DayOfWeek with get, set
Public Property FirstDayOfWeek As DayOfWeek

Property Value

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


The property is being set to a value that is not a valid 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.

Applies to

See also