TcxSchedulerHolidaysLocation.AddHoliday(string,TDateTime) Method
Adds a holiday with the specified name and date to the collection of holidays that belong to the current location.
Declaration
function AddHoliday(const AName: string; const ADate: TDateTime): TcxSchedulerHolidaysLocationHoliday; overload; virtual;
Parameters
| Name | Type |
|---|---|
| AName | string |
| ADate | TDateTime |
Returns
| Type |
|---|
| TcxSchedulerHolidaysLocationHoliday |
Remarks
AName specifies the holiday name.
ADate specifies the holiday date.
The AddHoliday method returns a reference to the newly created holiday.
See Also