Skip to main content

AppointmentCollection.GetConflicts(Appointment, TimeInterval) Method

OBSOLETE

You should use the 'AppointmentConflictsCalculator.CalculateConflicts' instead.

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

Declaration

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

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