The ID property defines the identifier of the pattern/color. The IDNonworkingPattern property indicates the identifier of the NonworkingPattern object to be displayed on the non-working interval.
The NonworkingDays property of the calendar defines the days to be non-working in the calendar. The NonworkingDaysPattern and the NonworkingDaysColor which defines the pattern and the color to show the non-working days. The FirstWeekDay property indicates the first day of the week. The Add method of the NonworkingTimes objects adds a new non-working time interval.
The NonworkingPatterns collection supports the following properties and methods:
Name | Description | |||
Add | Adds a NonworkingPattern object to the collection and returns a reference to the newly created object. | |||
Clear | Removes all objects in a collection. | |||
Count | Returns the number of objects in a collection. | |||
Item | Returns a specific NonworkingPattern of the NonworkingPatterns collection, giving its identifier. | |||
Remove | Removes a specific member from the NonworkingPatterns collection. |