Back to Devexpress

ISupportCalendarFolders Interface

corelibraries-devexpress-dot-xtrascheduler-dot-outlook-40774ba4.md

latest1.8 KB
Original Source

ISupportCalendarFolders Interface

Enables you to get or set a calendar folder name for different types of appointment exchangers.

Namespace : DevExpress.XtraScheduler.Outlook

Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
public interface ISupportCalendarFolders
vb
Public Interface ISupportCalendarFolders

Remarks

Since calendar folders are pertinent for MS Outlook data exchangers only, the ISupportCalendarFolders interface allows you to specify a name of the calendar folder when appropriate. The code below illustrates this technique:

csharp
string calendarFolderName = string.Empty;
if (exchanger is ISupportCalendarFolders)
{
    calendarFolderName = ((ISupportCalendarFolders) this.Exchanger).CalendarFolderName;
}
vb
Dim calendarFolderName As String = String.Empty
If TypeOf exchanger Is ISupportCalendarFolders Then
    calendarFolderName = _
    (CType(Me.Exchanger, ISupportCalendarFolders)).CalendarFolderName
End If

The OutlookExport, OutlookImport,

See Also

ISupportCalendarFolders Members

DevExpress.XtraScheduler.Outlook Namespace