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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.