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