Share via


RegionalSettings.FirstDayOfWeek property

Gets and sets the first day of the week used in calendars on the server.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Property FirstDayOfWeek As UInteger
    Get
    Set
'Usage
Dim instance As RegionalSettings
Dim value As UInteger

value = instance.FirstDayOfWeek

instance.FirstDayOfWeek = value
public uint FirstDayOfWeek { get; set; }

Property value

Type: System.UInt32

The first day of the week. The following values are possible:

  • 0 -- Sunday

  • 1 -- Monday

  • 2 -- Tuesday

  • 3 -- Wednesday

  • 4 -- Thursday

  • 5 -- Friday

  • 6 -- Saturday

Remarks

The FirstDayOfWeek property throws an exception if the value is not between 0 and 6.

See also

Reference

RegionalSettings class

RegionalSettings members

Microsoft.SharePoint.Client namespace