KaxSchedulerExportToICalendar Method (IEnumerableAppointment, 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(
IEnumerable<Appointment> appointments,
TimeSpan timeZoneOffset
)
Public Shared Function ExportToICalendar (
appointments As IEnumerable(Of Appointment),
timeZoneOffset As TimeSpan
) As String
public:
static String^ ExportToICalendar(
IEnumerable<Appointment^>^ appointments,
TimeSpan timeZoneOffset
)
static member ExportToICalendar :
appointments : IEnumerable<Appointment> *
timeZoneOffset : TimeSpan -> string
Parameters
- appointments
- Type: System.Collections.GenericIEnumerableAppointment
An IEnumerable 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