KaxSchedulerExportToICalendar Method (AppointmentCollection, TimeSpan) |
Exports the specified appointments 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(
AppointmentCollection appointments,
TimeSpan timeZoneOffset
)
Public Shared Function ExportToICalendar (
appointments As AppointmentCollection,
timeZoneOffset As TimeSpan
) As String
public:
static String^ ExportToICalendar(
AppointmentCollection^ appointments,
TimeSpan timeZoneOffset
)
static member ExportToICalendar :
appointments : AppointmentCollection *
timeZoneOffset : TimeSpan -> string
Parameters
- appointments
- Type: Kettic.AspNet.ControlsAppointmentCollection
A collection of appointments which should be exported. - timeZoneOffset
- Type: SystemTimeSpan
The time zone offset to apply to the exported appointments.
Return Value
Type:
StringA string containing the iCalendar representation of the supplied appointments.
Remarks
The return value should be saved as a text file with an "ics" extension.
See Also