Skip to main content

OutlookHolidaysLoader.FromFile(String) Method

Loads holidays from the specified file.

Namespace: DevExpress.Schedule

Assembly: DevExpress.Data.v23.1.dll

NuGet Package: DevExpress.Data


public HolidayBaseCollection FromFile(
    string fileName


Name Type Description
fileName String

A string that is the location of the holidays file. For MS Office 2013 US English you can find it at C:\Program Files\Microsoft Office\Office15\1033\outlook.hol.


Type Description

A HolidayBaseCollection collection containing holidays imported from MS Outlook.


By default the outlook.hol file is located in the language ID folder of the Office installation directory:

C:\Program Files\Microsoft Office\Office xx\LCID\outlook.hol

where xx is 12 for Office 2007, 14 for Office 2010, 15 for Office 2013 and LCID is your locale identification (LCID) number (1033 for English (United States)).

See Also