Version

DaysOfWeek Property (Resource)

Keyed collection of DaySettings objects where the key is DayOfWeek enum and the value is the associated DaySettings object. This is for providing per resource day of week settings. For example, let?s say the office hours are 9 AM-5 PM for everybody but the sales team?s office hour are 7 AM - 3 PM then each sales team member will have DayOfWeek entry for each work day in this collection with 7 AM - 3 PM WorkingHours specified.
Syntax
'Declaration
 
Public Property DaysOfWeek As ScheduleDaysOfWeek
public ScheduleDaysOfWeek DaysOfWeek {get; set;}
Remarks

Note: If you are using custom objects as data items to provide Resource information and the underlying property that's mapped to DaysOfWeek is a string property, you can use the ScheduleDaysOfWeek.ToXml method to get xml representation of a ScheduleDaysOfWeek instance, that you can use to initialize the value of the mapped property in the data item. This is the format that the XamSchedule expects the ScheduleDaysOfWeek information in.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also