Appointment.Load

Load(string)

Loads Appointment from the file. Supported file formats: iCalendar

public static Appointment Load(string filePath)
ParameterTypeDescription
filePathStringA file path

Return Value

A read Appointment

Exceptions

exceptioncondition
ArgumentExceptionfilePath 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)
ParameterTypeDescription
streamStreamA stream to load from

Return Value

A read Appointment

Exceptions

exceptioncondition
ArgumentNullExceptionstream is null
NotSupportedExceptionstream does not support reading

See Also


Load(Stream, bool)

Loads Appointment from the stream

public static Appointment Load(Stream stream, bool applyLocalTimeZone)
ParameterTypeDescription
streamStreamA stream to load from
applyLocalTimeZoneBooleanConvert time to local timezone

Return Value

A read Appointment

Exceptions

exceptioncondition
ArgumentNullExceptionstream is null
NotSupportedExceptionstream does not support reading

See Also


Load(Stream, AppointmentLoadOptions)

Loads Appointment from the stream

public static Appointment Load(Stream stream, AppointmentLoadOptions options)
ParameterTypeDescription
streamStreamA stream to load from
optionsAppointmentLoadOptionsRepresents appointment load options

Return Value

A read Appointment

Exceptions

exceptioncondition
ArgumentNullExceptionstream is null
NotSupportedExceptionstream does not support reading

See Also