Back to Devexpress

AppointmentConflictEventArgs.RemoveConflictsWithDifferentResource(AppointmentBaseCollection, Object) Method

corelibraries-devexpress-dot-xtrascheduler-dot-appointmentconflicteventargs-dot-removeconflictswithdifferentresource-x28-devexpress-dot-xtrascheduler-dot-appointmentbasecollection-system-dot-object-x29.md

latest2.4 KB
Original Source

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

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

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

Parameters

NameTypeDescription
conflictsAppointmentBaseCollection

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

AppointmentConflictEventArgs Class

AppointmentConflictEventArgs Members

DevExpress.XtraScheduler Namespace