Skip to main content

AppointmentConflictEventArgs.RemoveConflictsWithDifferentResource(AppointmentBaseCollection, Object) Method

Removes all the conflicting appointments from the specified collection whose Appointment.ResourceId doesn’t match the specified Id.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public void RemoveConflictsWithDifferentResource(
    AppointmentBaseCollection conflicts,
    object resourceId
)

Parameters

Name Type Description
conflicts AppointmentBaseCollection

An AppointmentBaseCollection object that contains all conflicting appointments.

resourceId Object

A Object that specifies the resource Id which appointments should be left in the collection.

Remarks

Use the RemoveConflictsWithDifferentResource method to remove all appointments which are assigned to resources with Ids other than the specified resourceId from the collection.

See Also