Skip to main content

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.v23.2.Reporting.dll

NuGet Package: DevExpress.Win.SchedulerReporting

Declaration

public AppointmentBaseCollection GetAppointments(
    TimeInterval timeInterval,
    ResourceBaseCollection resources
)

Parameters

Name Type Description
timeInterval TimeInterval

A TimeInterval object which contains the required time interval.

resources ResourceBaseCollection

A ResourceBaseCollection object containing the required resources.

Returns

Type Description
AppointmentBaseCollection

A AppointmentBaseCollection collection of appointments which meet the requirements.

Remarks

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.

See Also