我想将 Outlook 日历文件夹的地址设置为特定的 URL。我在互联网上找不到任何关于此的注释。我想将newFolder
URL 地址设置为网站。这是在 Outlook 2010 中:
Folder calendarFolder = this._Application.Session.GetDefaultFolder(OlDefaultFolders.olFolderCalendar) as Folder;
NavigationPane pane = this._Application.ActiveExplorer().NavigationPane;
CalendarModule navigation = pane.Modules.GetNavigationModule(OlNavigationModuleType.olModuleCalendar) as CalendarModule;
NavigationGroup group = navigation.NavigationGroups.Create("Appleby Calendars");
Folder newFolder = calendarFolder.Folders.Add("Athletics", Type.Missing) as Folder;
group.NavigationFolders.Add(newFolder);