TcxSchedulerDateList.IndexOf(TDateTime) Method
Returns the zero-based index of the ADate date in the TcxSchedulerDateList collection.
Declaration
function IndexOf(ADate: TDateTime): Integer; reintroduce;
Parameters
Name | Type |
---|---|
ADate | TDateTime |
Returns
Type |
---|
Integer |
Remarks
This method returns -1 if there is no ADate date in the TcxSchedulerDateList collection.
Note
the IndexOf method matches dates by the date part of the ADate parameter’s value only. All items are stored in the collection without a fractional part (without time value).
See Also