Search
Schedule.GetAllItems Method (DateTime, DateTime, Calendar)
See Also
 






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

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public ItemCollection GetAllItems (
    DateTime startTime,
    DateTime endTime,
    Calendar c
)

Visual Basic  Copy Code

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

 Parameters

startTime

Time interval start.

endTime

Time interval end.

c

A Calendar instance that is used to interpret recurrence patterns in the schedule.

 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