AppointmentCollection.IsNewAppointment(Appointment) Method
Determines whether the appointment is new, so that it is not an occurrence, and the current AppointmentCollection collection does not contain it.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
Declaration
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 collection and in its recurrent series; otherwise, false. |
Remarks
This method returns the value according to the following conditions.
Condition | Return Value |
---|---|
The appointment is contained in this AppointmentCollection. | 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 |
See Also