Share via


DateOptions.FirstDayOfWeek property

Gets a value that represents the first day of the week displayed in the calendar.

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

Syntax

'Declaration
Public ReadOnly Property FirstDayOfWeek As Integer
    Get
'Usage
Dim instance As DateOptions
Dim value As Integer

value = instance.FirstDayOfWeek
public int FirstDayOfWeek { get; }

Property value

Type: System.Int32
An Integer in the range 0 through 6 that indicates the first day of the week displayed in the calendar; 0 indicates Sunday, 1 indicates Monday, and so on. The default is 0 (Sunday).

See also

Reference

DateOptions class

DateOptions members

Microsoft.SharePoint.Utilities namespace