RegionalSettings.WorkDays プロパティ
Gets and sets a number that represents the work days of Web site calendars.
名前空間: Microsoft.SharePoint.Client
アセンブリ: Microsoft.SharePoint.Client.Silverlight (Microsoft.SharePoint.Client.Silverlight.dll 内); Microsoft.SharePoint.Client.Phone (Microsoft.SharePoint.Client.Phone.dll 内) Microsoft.SharePoint.Client (Microsoft.SharePoint.Client.dll 内)
構文
'宣言
Public Property WorkDays As Short
Get
Set
'使用
Dim instance As RegionalSettings
Dim value As Short
value = instance.WorkDays
instance.WorkDays = value
public short WorkDays { get; set; }
プロパティ値
型: System.Int16
The work days of the Web site calendars.
注釈
The WorkDays property contains a value that represents the work days in the user interface (UI). This value is converted to its binary value, and it is read from left to right starting on Sunday and ending on Saturday. The days that have 1 are the work days in the UI.
The following table shows possible values.
Property value |
Binary value |
Work days |
---|---|---|
127 |
1111111 |
All |
0 |
0000000 |
None |
64 |
1000000 |
Sunday |
32 |
0100000 |
Monday |
16 |
0010000 |
Tuesday |
8 |
0001000 |
Wednesday |
4 |
0000100 |
Thursday |
2 |
0000010 |
Friday |
1 |
0000001 |
Sunday |
62 |
0111110 |
Monday to Friday |