OccurrenceCalculator.FindFirstOccurrenceIndex(TimeInterval, Appointment) Method
In This Article
Searches for the first occurrence which corresponds to the pattern and is located within the specified interval.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v14.2.Core.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
interval | Time |
A DevExpress. |
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 first appointment from the occurrence chain that falls within the specified interval, or -1 if the specified interval cannot contain an occurrence. |
See Also