Exception Object Members
Project Developer Reference |
Represents a single calendar exception. The Exception object is a member of the Exceptions collection.
Methods
Name | Description | |
---|---|---|
Delete | Deletes an object from its containing collection. |
Properties
Name | Description | |
---|---|---|
Application | Returns an Application object. Read-only Object. | |
DaysOfWeek | Returns or sets the bit mask used for PjWeekly exceptions, indicating the days on which the exception occurs. Default is 0. Read/write Long. | |
Finish | Returns or sets the finish date of an exception. Read/write Variant. | |
Index | Returns the index of an object in its containing collection. Read-only Long. | |
Month | Returns or sets the month for Yearly type exceptions. Can be one of the pjMonth constants. Defauilt is pjJanuary. Read/write Long. | |
MonthDay | Returns or sets day of the month for ByMonthDay type exceptions. Default is 1. Read/write Long. | |
MonthItem | Returns or sets the value for a monthly exception. Can be one of the following PjExceptionItem contants: pjSunday, pjMonday, pjTuesday, pjWednesday, pjThursday, pjFriday, and pjSaturday. Read/write Long. | |
MonthPosition | Returns or sets the month position for a monthly or yearly exception. Can be one of the PjExceptionPosition constants. Read/write Long. | |
Name | Returns the name of an Exception object. Read/write String. | |
Occurrences | Returns the number of occurrences. Read/write Long. | |
Parent | Returns the parent of the object. Read-only Object. | |
Period | Returns or sets the period for exception recurrences, specified as the number of days, weeks, or years. Read/write Long. | |
Shift1 | Returns a Shift object representing a shift of a day, month, period, weekday, or year. Read-only Object. | |
Shift2 | Returns a Shift object representing a shift of a day, month, period, weekday, or year. Read-only Object. | |
Shift3 | Returns a Shift object representing a shift of a day, month, period, weekday, or year. Read-only Object. | |
Shift4 | Returns a Shift object representing a shift of a day, month, period, weekday, or year. Read-only Object. | |
Shift5 | Returns a Shift object representing a shift of a day, month, period, weekday, or year. Read-only Object. | |
Start | Returns or sets the start date of an Exception. Read/write Variant. | |
Type | Returns or sets the type of exception. Can be one of the PjExceptionType constants. Read/write Long. |