DateTimeFormatInfo.FirstDayOfWeek Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the first day of the week.
public:
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.
Exceptions
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.
Remarks
This property is affected if the value of the Calendar property changes.
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.