RDOExceptions object

 

RDOExceptions represents a collection of exceptions of a recurring appointment .

 

Returned by:

RDORecurrencePattern.Exceptions

 

The example below lists all exceptions of a recurring appointment.

set Pattern = Appointment.GetRecurrencePattern
set Exceptions = Pattern.Exceptions
for each Exception in Exceptions
    Debug.Print "Original date: " & Exception.OriginalDate
    set Item = Exception.Item
    if not Item Is Nothing Then 'it can be NULL if it is a deleted exception
        Debug.Print "New date: " & Item.Start
    End If
next

 

Properties

Methods

 


Derived from: IDispatch


Properties


Count

Returns the number of exceptions in the collection

 

Methods


Item(Index)

Returns an exception (RDOException object) with the given index or date

 

Index - Variant. Either an integer index (1 through Count) or a date. In case of a date, if no exception exists on the given date, error is raised.