A newer version of this page is available. Switch to the current version.

ReportViewBase.GetAppointments(TimeInterval, ResourceBaseCollection) Method

Returns a collection of appointments that fall within the specified time interval and are associated with a specified resource.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v19.1.Reporting.dll


public AppointmentBaseCollection GetAppointments(
    TimeInterval timeInterval,
    ResourceBaseCollection resources
Public Function GetAppointments(
    timeInterval As TimeInterval,
    resources As ResourceBaseCollection
) As AppointmentBaseCollection


Name Type Description
timeInterval TimeInterval

A TimeInterval object which contains the required time interval.

resources ResourceBaseCollection

A ResourceBaseCollection object containing the required resources.


Type Description

A AppointmentBaseCollection collection of appointments which meet the requirements.


The GetAppointments method uses the corresponding method of the print adapter to retrieve appointments; if there is no print adapter for the report, the method returns an empty AppointmentBaseCollection.


DevExpress.XtraScheduler.Reporting.ISchedulerAppointmentProvider.GetAppointments(TimeInterval, ResourceBaseCollection)
See Also