Load

Load(string)

Loads Appointment from the file. Supported file formats: iCalendar

public static Appointment Load(string filePath)
Parameter Type Description
filePath String A file path

Return Value

A read Appointment

Exceptions

exception condition
ArgumentException filePath is null or empty

See Also


Load(string, AppointmentLoadOptions)

Loads Appointment from the file. Supported file formats: iCalendar A file path.Represents appointment load optionsAppointmentLoadOptions.A read Appointment.

public static Appointment Load(string filePath, AppointmentLoadOptions options)

See Also


Load(Stream)

Loads Appointment from the stream

public static Appointment Load(Stream stream)
Parameter Type Description
stream Stream A stream to load from

Return Value

A read Appointment

Exceptions

exception condition
ArgumentNullException stream is null
NotSupportedException stream does not support reading

See Also


Load(Stream, bool)

Loads Appointment from the stream

public static Appointment Load(Stream stream, bool applyLocalTimeZone)
Parameter Type Description
stream Stream A stream to load from
applyLocalTimeZone Boolean Convert time to local timezone

Return Value

A read Appointment

Exceptions

exception condition
ArgumentNullException stream is null
NotSupportedException stream does not support reading

See Also


Load(Stream, AppointmentLoadOptions)

Loads Appointment from the stream

public static Appointment Load(Stream stream, AppointmentLoadOptions options)
Parameter Type Description
stream Stream A stream to load from
options AppointmentLoadOptions Represents appointment load options

Return Value

A read Appointment

Exceptions

exception condition
ArgumentNullException stream is null
NotSupportedException stream does not support reading

See Also