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

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.v18.2.Core.dll


public void RemoveConflictsWithDifferentResource(
    AppointmentBaseCollection conflicts,
    object resourceId
Public Sub RemoveConflictsWithDifferentResource(
    conflicts As AppointmentBaseCollection,
    resourceId As Object


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.


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