Skip to main content
A newer version of this page is available. .

OutlookExport.CalendarFolderName Property

Gets or sets the name of the calendar folder (MAPI) from which appointments are retrieved.

Namespace: DevExpress.XtraScheduler.Outlook

Assembly: DevExpress.XtraScheduler.v18.2.Core.dll

Declaration

public string CalendarFolderName { get; set; }

Property Value

Type Description
String

A string representing the name of a calendar folder.

Remarks

When the export starts (by calling the AppointmentExporter.Export method), all accessible Outlook (and Exchange via Outlook) calendar folders are searched, for the calendar with the specified name. If a calendar is not found, an exception occurs. You can intercept this exception by handling the AppointmentExchanger.OnException event of the OutlookExport class.

If the CalendarFolderName is not specified, the default calendar is used.

Note

Use the OutlookExchangeHelper.GetOutlookCalendarNames method to obtain valid names.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CalendarFolderName property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Implements

See Also