MindFusion.Scheduling for ASP.NET Programmer's Guide
Recurrence.GenerateItems Method
See Also
 





Creates occurrence items for this Recurrence in the specified date range.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling.WebForms

 Syntax

C#  Copy Code

public ItemCollection<Item> GenerateItems (
    DateTime startDate,
    DateTime endDate
)

Visual Basic  Copy Code

Public Function GenerateItems ( _
    startDate As DateTime, _
    endDate As DateTime _
) As ItemCollection(Of Item)

 Parameters

startDate

Type: DateTime
The range start date.

endDate

Type: DateTime
The range end date.

 Return Value

A collection of Item instances representing each occurrence of the recurrent event in the specified date range.

 Remarks

The Calendar control uses this method to generate item occurrences when a recurrent item must be displayed in the current view.

 See Also

Recurrence Members
Recurrence Class
MindFusion.Scheduling Namespace