Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static ActionResult ExportToICalendar(
    SchedulerSettings settings,
    object appointmentDataObject,
    object resourceDataObject,
    bool saveAsFile
)

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