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

AppointmentItemConflictEventArgs.RemoveConflictsWithDifferentResource(IList<AppointmentItem>, Object) Method

Removes all the conflicting appointments from the specified collection whose AppointmentItem.ResourceId doesn't match the specified Id.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v18.2.dll


public void RemoveConflictsWithDifferentResource(
    IList<AppointmentItem> conflicts,
    object resourceId
Public Sub RemoveConflictsWithDifferentResource(
    conflicts As IList(Of AppointmentItem),
    resourceId As Object


Name Type Description
conflicts IList<AppointmentItem>

A IList<T> object that contains all conflicting appointments.

resourceId Object

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


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

See Also