MapiCalendar.FromIcs

FromIcs(string)

Creates an instance of MapiCalendar from the specified .ics file.

public static MapiCalendar FromIcs(string filePath)
ParameterTypeDescription
filePathStringThe path to the file to be loaded.

Return Value

Returns a MapiCalendar instance loaded from the specified file.

See Also


FromIcs(string, bool)

Creates an instance of MapiCalendar from the specified .ics file.

public static MapiCalendar FromIcs(string filePath, bool detectEncoding)
ParameterTypeDescription
filePathStringThe path to the file to be loaded.
detectEncodingBooleanDetermines a data encoding by analyzing its byte order mark (BOM)

Return Value

Returns a MapiCalendar instance loaded from the specified file.

See Also


FromIcs(Stream)

Creates an instance of MapiCalendar from the specified stream.

public static MapiCalendar FromIcs(Stream stream)
ParameterTypeDescription
streamStreamThe stream to be loaded.

Return Value

Returns a MapiCalendar instance loaded from the specified stream.

See Also


FromIcs(Stream, bool)

Creates an instance of MapiCalendar from the specified stream.

public static MapiCalendar FromIcs(Stream stream, bool detectEncoding)
ParameterTypeDescription
streamStreamThe stream to be loaded.
detectEncodingBooleanDetermines a data encoding by analyzing its byte order mark (BOM)

Return Value

Returns a MapiCalendar instance loaded from the specified stream.

See Also