Skip to main content
A newer version of this page is available. .

AppointmentStorageBase.IsNewAppointment(Appointment) Method

Determines whether the appointment is new, so that it is not an occurrence, and the current AppointmentStorageBase does not contain it.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.2.Core.dll

Declaration

public bool IsNewAppointment(
    Appointment apt
)

Parameters

Name Type Description
apt Appointment

An Appointment object that is the appointment in question.

Returns

Type Description
Boolean

true, if the appointment isn’t contained in this storage and in recurrent series of appointments in the storage; otherwise, false.

Remarks

This method returns the value according to the following conditions.

Condition Return Value
The appointment is contained in this AppointmentStorageBase. False
The appointment’s type is AppointmentType.Occurrence. False
The appointment is an exception (can be obtained using the Appointment.GetExceptions method). Call the IsNewAppointment method for the exception’s pattern.
Otherwise. True

The following code snippets (auto-collected from DevExpress Examples) contain references to the IsNewAppointment(Appointment) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also