Version

DateSettings Property (UltraCalendarInfo)

Returns a collection of CalendarDateSettings objects which expose TimeSlot-related properties that apply to a specific date.
Syntax
'Declaration
 
Public ReadOnly Property DateSettings As CalendarDateSettingsCollection
public CalendarDateSettingsCollection DateSettings {get;}
Remarks

The DateSettings collection provides a way to specify the working hours for a particular date, or whether a particular date is a workday. The working hours and workday status can be changed for a day of the week via the members of the DaysOfWeek collection; the DateSettings collection extends this metaphor to an arbitrarily selected date.

If the IsWorkDay property is explicitly set to false, all time slots for the entire day are considered to fall within non-working hours. When explicitly set to true for a day that would otherwise be considered a non-working day, the working hours are defined by the same criteria as they would otherwise be. When set to Default, the workday status for that date is defined by the the week.

If the WorkingHours collection is populated, its contents fully define the working hours for that date. For example, if the date falls on a Monday, and the working hours for Mondays are defined as 8AM - 5PM, the working hours are the same for that date unless the WorkingHours collection has one or more members. If a TimeRange is added to the collection for 10AM - 3PM, that range of time then becomes the new working hour range for that date.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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