Skip to main content

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

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static ActionResult ExportToICalendar(
    SchedulerSettings settings,
    object appointmentDataObject,
    object resourceDataObject,
    string fileName,
    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.

fileName String

A string that is the name of a file to which data are saved.

saveAsFile Boolean

true to save as a file with .ics extension; otherwise, false.

Returns

Type Description
ActionResult

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

See Also