Skip to main content

OutlookHolidaysLoader.FromStream(Stream, Encoding, String[]) Method

Loads holidays for specified locations from the specified stream, using the specified encoding.

Namespace: DevExpress.Schedule

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public HolidayBaseCollection FromStream(
    Stream stream,
    Encoding encoding,
    string[] locations
)

Parameters

Name Type Description
stream Stream

A Stream containing holidays as they are represented for MS Outlook.

encoding Encoding

A Encoding class representing a character encoding.

locations String[]

An array of strings containing location names.

Returns

Type Description
HolidayBaseCollection

A HolidayBaseCollection collection containing holidays imported from MS Outlook.

See Also