MindFusion.Scheduling for Silverlight Programmer's Guide
Recurrence.GetOccurrence Method (Int32, Calendar)
See Also
 





Returns the occurrence having the specified index.

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

 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 (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