Skip to main content

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

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

Namespace: DevExpress.Web.Mvc

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

Declaration

public static ActionResult ExportToICalendar(
    SchedulerSettings settings,
    object appointmentDataObject,
    object resourceDataObject,
    string fileName
)

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 the file with an .ics extension to which data are exported.

Returns

Type Description
ActionResult

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

See Also