Partilhar via


DateTimeControl.WorkWeek Property

Gets or sets a seven-character string that indicates the work days in a week.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<BindableAttribute(True)> _
Public Property WorkWeek As String
    Get
    Set
'Usage
Dim instance As DateTimeControl
Dim value As String

value = instance.WorkWeek

instance.WorkWeek = value
[BindableAttribute(true)]
public string WorkWeek { get; set; }

Property Value

Type: System.String
A seven-character string that indicates the work days of the week, where 1 is a work day and 0 is not a work day. The default is "0111110," which represents a Monday-Friday work week for a week in which the first day is Sunday.

See Also

Reference

DateTimeControl Class

DateTimeControl Members

Microsoft.SharePoint.WebControls Namespace