MindFusion WinForms Programmer's Guide
Schedule.GetAllItems Method (DateTime, DateTime, Location, Calendar)
See Also
 





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

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public List<Item> GetAllItems (
    DateTime startDate,
    DateTime endDate,
    Location location,
    Calendar c
)

Visual Basic  Copy Code

Public Function GetAllItems( _
    startDate As DateTime, _
    endDate As DateTime, _
    location As Location, _
    c As Calendar _
) As List(Of Item)

 Parameters

startDate

Specifies the start of the time period.

endDate

Specifies the end of the time period.

location

A Location instance that must be related to the items.

c

A .NET 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 for the specified location.

 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

GetAllItems Method Overload List
Schedule Members
Schedule Class
MindFusion.Scheduling Namespace