Gets the list of all recurrence exceptions.
Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling
SyntaxC#
Copy Code
|
|---|
public ICollection Exceptions { get; } |
Visual Basic
Copy Code
|
|---|
Public ReadOnly Property Exceptions As ICollection |
A collection containing all exceptions defined for this recurrence.
ExampleThe 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) |
Visual Basic
Copy Code
|
|---|
| For Each exception As RecurrenceException in recurrence.Exceptions If exception.IsDeleted Then ' Do something here End If Next |
See Also