OutlookImport.Import(String) Method
In This Article
Imports appointments from the currently installed MS Outlook instance to the Scheduler.
Namespace: DevExpress.XtraScheduler.Outlook
Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
path | String | Always String. |
#Remarks
Use the OutlookImport.CalendarFolderName property to specify the path to the source Outlook calendar. Usually it is a string that looks like “\Outlook Data File\Calendar”. The following code snippet imports appointments from default Outlook calendar:
using DevExpress.XtraScheduler.Outlook;
// ...
string [] OutlookCalendarNames = OutlookExchangeHelper.GetOutlookCalendarPaths();
OutlookImport importer = (OutlookImport)schedulerStorage.CreateOutlookImporter();
importer.CalendarFolderName = OutlookCalendarNames[0];
((OutlookImport)importer).Import(String.Empty);
See Also