Search
Recurrence.Exceptions Property
See Also
 






Gets the list of all recurrence exceptions.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public ICollection Exceptions { get; }

Visual Basic  Copy Code

Public ReadOnly Property Exceptions As ICollection

 Property Value

A collection containing all exceptions defined for this recurrence.

 Remarks

The following example traverses all deleted occurrences of a recurrence. The example assumes that recurrence references an existing Recurrence object.

 Example

C#  Copy Code

foreach (RecurrenceException exception in recurrence.Exceptions)
{
    if (exception.IsDeleted)
    {
        // Do something here
    }
}

Visual Basic  Copy Code

For Each exception As RecurrenceException in recurrence.Exceptions

    If exception.IsDeleted Then

        ' Do something here

    End If

Next

 See Also