SchedulerExtension.ExportToICalendar(SchedulerSettings, Object, Object, Boolean) Method

Exports the scheduler data to iCalendar format using the specified settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll

Declaration

public static ActionResult ExportToICalendar(
    SchedulerSettings settings,
    object appointmentDataObject,
    object resourceDataObject,
    bool saveAsFile
)
Public Shared Function ExportToICalendar(
    settings As SchedulerSettings,
    appointmentDataObject As Object,
    resourceDataObject As Object,
    saveAsFile As Boolean
) As ActionResult

Parameters

Name Type Description
settings SchedulerSettings

A SchedulerSettings object that contains scheduler settings required to instantiate a SchedulerControl to accomplish an export task.

appointmentDataObject Object

An object that is the appointment data source for the Scheduler.

resourceDataObject Object

An object that is the resource data source for the Scheduler.

saveAsFile Boolean

true to save as a file with a name set to the SettingsBase.Name value and .ics extension; otherwise, false.

Returns

Type Description
ActionResult

A ActionResult encapsulating the result of the Scheduler data export operation.

See Also