PocketPlanner Programmer's Guide

Schedule.GetAllItems Method (DateTime, DateTime)

See Also

Retrieves a collection of all events, including recurrent item instances, scheduled to occur in the specified time interval.

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

public ItemCollection GetAllItems (
    DateTime startTime,
    DateTime endTime
)

Visual Basic

Public Function GetAllItems ( _
    startTime As DateTime, _
    endTime As DateTime _
) As ItemCollection

 Parameters

startTime
Time interval start.
endTime
Time interval end.

 Return Value

A collection that contains the events scheduled to occur in the specified period.

 Remarks

If a recurring event occurs in the specified interval, each occurrence is represented by an Item instance whose RecurrenceState is set to Occurrence.

 See Also