KaxSchedulerExportToICalendar Method (Appointment, TimeSpan) |
Exports an appointment to iCalendar format.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic static string ExportToICalendar(
Appointment appointment,
TimeSpan timeZoneOffset
)
Public Shared Function ExportToICalendar (
appointment As Appointment,
timeZoneOffset As TimeSpan
) As String
public:
static String^ ExportToICalendar(
Appointment^ appointment,
TimeSpan timeZoneOffset
)
static member ExportToICalendar :
appointment : Appointment *
timeZoneOffset : TimeSpan -> string
Parameters
- appointment
- Type: Kettic.AspNet.ControlsAppointment
The appointment which should be exported. - timeZoneOffset
- Type: SystemTimeSpan
The time zone offset to apply to the exported appointments.
Return Value
Type:
StringA string containing the appointment in iCalendar format.
Remarks
The return value should be saved as a text file with an "ics" extension.
See Also