AppointmentCollection.GetConflicts(Appointment, TimeInterval) Method

Obsolete. Returns a collection of appointments which overlap the specified appointment within the specified time interval and use the same resource.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll


[Obsolete("You should use the 'AppointmentConflictsCalculator.CalculateConflicts' instead.", true)]
public AppointmentBaseCollection GetConflicts(
    Appointment appointment,
    TimeInterval interval
<Obsolete("You should use the 'AppointmentConflictsCalculator.CalculateConflicts' instead.", True)>
Public Function GetConflicts(
    appointment As Appointment,
    interval As TimeInterval
) As AppointmentBaseCollection


Name Type Description
appointment Appointment

An Appointment object for which any conflicts should be returned.

interval TimeInterval

A TimeInterval object which specifies the observed time interval.


Type Description

An AppointmentBaseCollection collection which contains appointments which conflict with the specified appointment.


Two appointments conflict if they use the same resource and if they overlap within a specific time interval. The GetConflicts method returns a collection of appointments which conflict with the specified appointment. The observed time interval is determined by the interval parameter.

See Also