MapiTask.FromVTodo

FromVTodo(string)

Loads a task from an iCalendar (.ics) file with a VTODO.

public static MapiTask FromVTodo(string filePath)
ParameterTypeDescription
filePathStringThe path of the file.

Return Value

The loaded task.

See Also


FromVTodo(string, bool)

Loads a task from an iCalendar (.ics) file with a VTODO, optionally detecting the encoding.

public static MapiTask FromVTodo(string filePath, bool detectEncoding)
ParameterTypeDescription
filePathStringThe path of the file.
detectEncodingBooleantrue to detect the encoding of the data from its byte order mark (BOM).

Return Value

The loaded task.

See Also


FromVTodo(Stream)

Loads a task from a stream that contains an iCalendar VTODO.

public static MapiTask FromVTodo(Stream stream)
ParameterTypeDescription
streamStreamThe stream to read.

Return Value

The loaded task.

See Also


FromVTodo(Stream, bool)

Loads a task from a stream that contains an iCalendar VTODO, optionally detecting the encoding.

public static MapiTask FromVTodo(Stream stream, bool detectEncoding)
ParameterTypeDescription
streamStreamThe stream to read.
detectEncodingBooleantrue to detect the encoding of the data from its byte order mark (BOM).

Return Value

The loaded task.

See Also