PocketPlanner Programmer's Guide

Recurrence.GenerateItems Method

See Also

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

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

public ItemCollection GenerateItems (
    DateTime startDate,
    DateTime endDate
)

Visual Basic

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

 Parameters

startDate
The range start date.
endDate
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