MindFusion.Scheduling for Silverlight Programmer's Guide
Recurrence.GetOccurrence Method (Int32, Calendar, Boolean@, Boolean)
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,
    ref bool isDeleted,
    bool noException
)

Visual Basic  Copy Code

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

noException

Specifies whether to return the original item, in case this occurrence is an exception.

 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