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

Declaration

[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

Parameters

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.

Returns

Type Description
AppointmentBaseCollection

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

Remarks

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