ASP.NET Pack Programmer's Guide
Schedule.GetAllItems Method (DateTime, DateTime, Location)
See Also
 





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

Namespace: MindFusion.Scheduling
Package: MindFusion.Scheduling.WebForms

 Syntax

C#  Copy Code

public ItemCollection<Item> GetAllItems (
    DateTime startDate,
    DateTime endDate,
    Location location
)

Visual Basic  Copy Code

Public Function GetAllItems ( _
    startDate As DateTime, _
    endDate As DateTime, _
    location As Location _
) As ItemCollection(Of Item)

 Parameters

startDate

Specifies the start of the time period.

endDate

Specifies the end of the time period.

location
Type: Location
A Location instance that must be related to the items.

 Return Value

Type: ItemCollection(Item)
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 RecurrenceState.Occurrence.

 See Also

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