AppointmentCollection.IsNewAppointment(Appointment) Method
In This Article
Determines whether the appointment is already contained either in this AppointmentCollection or in one of the series of its recurring appointments.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v14.2.Core.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
apt | Appointment | An Appointment object which is the appointment to search. |
#Returns
Type | Description |
---|---|
Boolean | true if the appointment is not contained in the collection and in its recurrent series; otherwise, false. |
#Remarks
The IsNewAppointment method returns its value according to the following conditions.
Condition | Return Value |
---|---|
The appointment is contained in this Appointment |
False |
The appointment's type is Appointment |
False |
The appointment is recurring and is contained in the collection of its pattern's exceptions (returned via the Appointment. |
Is |
Otherwise. | True |
See Also