Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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