TcxSchedulerHolidaysLocation.Find(string,TDateTime) Method
Searches for a holiday with the specified name and date.
Declaration
function Find(const AName: string; const ADate: TDateTime): TcxSchedulerHolidaysLocationHoliday; overload; virtual;
Parameters
Name | Type |
---|---|
AName | string |
ADate | TDateTime |
Returns
Type |
---|
TcxSchedulerHolidaysLocationHoliday |
Remarks
The Find method returns a holiday whose attributes match the specified name and date. If the specified holiday is not found, the method returns nil.
AName and ADate specify the holiday’s name and date, respectively.
See Also