WorkdaysOptions.LoadHolidays(String) Method
Imports holidays from the specified file.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
file |
String | A String value that specifies the file name. |
#Remarks
Important
Note that there is a known vulnerability with CWE-73 (External Control of File Name or Path) when you use the Load
Call the LoadHolidays method to import holidays in the DevExpress Scheduler (.xml) or Microsoft Office Outlook® (.hol) formats from a file. You can also use the WorkdaysOptions.Holidays property to populate the collection of holidays.