OccurrenceCalculator.FindOccurrenceIndex(DateTime, Appointment) Method
In This Article
Searches for the occurrence which corresponds to the pattern and starts at the specified time.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v14.2.Core.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
date | Date |
A Date |
pattern | Appointment | An Appointment instance which is the pattern for the occurrence chain. |
#Returns
Type | Description |
---|---|
Int32 | An integer value which is the index of the appointment from the occurrence chain that starts at the specified time, or -1 if the search fails. |
See Also