WorkdaysOptions.LoadHolidays(String) Method
Imports holidays from the specified file.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
fileName | 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 LoadHolidays method in web applications. Refer to the following KB article for more information: False Positive Vulnerabilities - Known alerts detected by various security scanners and services (see the CWE-73: External Control of File Name or Path section)
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.