Search
Recurrence.GetOccurrence Method (Int32, Calendar)
See Also
 






Returns the occurrence having the specified index.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public Item GetOccurrence (
    int index,
    Calendar c
)

Visual Basic  Copy Code

Public Function GetOccurrence( _
    index As Integer, _
    c As Calendar _
) 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.

 Return Value

A reference to the occurrence with the specified index or null, 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