CalendarException
Contents
[
Hide
]CalendarException class
Represent exceptional time periods in a calendar.
Constructors
| Name | Description |
|---|---|
| CalendarException | Initializes a new instance of the CalendarException class. |
Methods
| Name | Description |
|---|---|
| CheckException | Returns true if the specified instance of the DateTime struct is the exception day. |
| Delete | Deletes the Exception instance from parent calendar CalendarExceptionCollection object. |
| get_DaysOfWeek | Gets the DayTypeCollection for this object. The days of the week on which the exception is valid. |
| get_DayWorking | Gets a value indicating whether the specified date or day type is working. |
| get_EnteredByOccurrences | Gets a value indicating whether the range of recurrence is defined by entering a number of occurrences. False specifies that the range of recurrence is defined by entering a finish date. |
| get_FromDate | Gets the beginning of the exception time. |
| get_Month | Gets the month for which an exception recurrence is scheduled. |
| get_MonthDay | Gets the day of a month on which an exception recurrence is scheduled. |
| get_MonthItem | Gets the month item for which an exception recurrence is scheduled. |
| get_MonthPosition | Gets the position of a month item within a month. |
| get_Name | Gets the name of the exception. |
| get_Occurrences | Gets the number of occurrences for which the calendar exception is valid. |
| get_ParentCalendar | Gets the parent calendar for this object. |
| get_Period | Gets the period of recurrence for the exception. |
| get_ToDate | Gets the end of the exception time. |
| get_Type | Gets the exception type. |
| get_WorkingTimes | Gets the WorkingTimeCollection object. The collection of working times that defines the time worked on the weekday. |
| GetExceptionDates | Returns dates on which the calendar exception is applicable. |
| GetWorkingTime | Returns the working time for a calendar exception. |
| set_DayWorking | Sets a value indicating whether the specified date or day type is working. |
| set_EnteredByOccurrences | Sets a value indicating whether the range of recurrence is defined by entering a number of occurrences. False specifies that the range of recurrence is defined by entering a finish date. |
| set_FromDate | Sets the beginning of the exception time. |
| set_Month | Sets the month for which an exception recurrence is scheduled. |
| set_MonthDay | Sets the day of a month on which an exception recurrence is scheduled. |
| set_MonthItem | Sets the month item for which an exception recurrence is scheduled. |
| set_MonthPosition | Sets the position of a month item within a month. |
| set_Name | Sets the name of the exception. |
| set_Occurrences | Sets the number of occurrences for which the calendar exception is valid. |
| set_Period | Sets the period of recurrence for the exception. |
| set_ToDate | Sets the end of the exception time. |
| set_Type | Sets the exception type. |
| set_WorkingTimes | Sets the WorkingTimeCollection object. The collection of working times that defines the time worked on the weekday. |