MindFusion.Wpf Pack Programmer's Guide
Recurrence.GetOccurrence Method (Int32, Calendar, Boolean@)
See Also
 





Returns the occurrence having the specified index.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling.Wpf

 Syntax

C#  Copy Code

public Item GetOccurrence (
    int index,
    Calendar c,
    ref bool isDeleted
)

Visual Basic  Copy Code

Public Function GetOccurrence( _
    index As Integer, _
    c As Calendar, _
    ByRef isDeleted As Boolean _
) As Item

 Parameters

index

The index of the occurrence to retrieve.

c

An object that specifies the calendar to use for calculating the occurrences of the recurrence.

isDeleted

If the specified occurrence is an exception, this parameter contains upon function completion whether the exception is deleted or not.

 Return Value

A reference to the occurrence with the specified index or null (Nothing in Visual Basic), if there is no such occurrence.

 Remarks

This function might take considerable amount of time if you specify a large index in an infinite recurrence.

 See Also

GetOccurrence Method Overload List
Recurrence Members
Recurrence Class
MindFusion.Scheduling Namespace