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.v20.1.Reporting.dll

Declaration

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

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.

Implements

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