我想将Outlook Calendar文件夹的地址设置为特定的URL。我无法在互联网上找到任何笔记。我想将newFolder
网址设置为网站。这是在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);
答案 0 :(得分:0)
我能够通过在应用程序对象中调用此方法来创建该文件夹。这将创建一个新文件夹,您可以将其移动到任何所需的导航文件夹。
Folder newFolder = this._Application.GetNamespace("MAPI").OpenSharedFolder("<the .ics usl>") as Folder;