Appointment.GetAppointmentText

GetAppointmentText(AppointmentFormattingOptions)

Returns the details of the appointment, formatted with the specified templates.

public string GetAppointmentText(AppointmentFormattingOptions formattingOptions)
ParameterTypeDescription
formattingOptionsAppointmentFormattingOptionsThe templates to format the details with. Use AppointmentFormattingOptions.CreateAsHtml to get HTML.

Return Value

The title, organizer, start and end time, time zone, location and description of the appointment.

Exceptions

exceptioncondition
ArgumentNullExceptionformattingOptions is null.

See Also


GetAppointmentText()

Returns the details of the appointment as plain text.

public string GetAppointmentText()

Return Value

The title, organizer, start and end time, time zone, location and description of the appointment, formatted with the default plain-text templates.

See Also