AppointmentConflictEventArgs.RemoveConflictsWithDifferentResource(AppointmentBaseCollection, Object) Method
In This Article
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.2.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
#Declaration
public void RemoveConflictsWithDifferentResource(
AppointmentBaseCollection conflicts,
object resourceId
)
#Parameters
Name | Type | Description |
---|---|---|
conflicts | Appointment |
An Appointment |
resource |
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