MindFusion.Scheduling for Silverlight Programmer's Guide
Recurrence.Exceptions Property
See Also
 





Gets the list of all recurrence exceptions.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling.Silverlight

 Syntax

C#  Copy Code

public ICollection Exceptions { get; }

Visual Basic  Copy Code

Public ReadOnly Property Exceptions As ICollection

 Property Value

A .NET ICollection containing the exceptions generated for this recurrence.

 Example

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

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

Recurrence Members
Recurrence Class
MindFusion.Scheduling Namespace