0

我想将 Outlook 日历文件夹的地址设置为特定的 URL。我在互联网上找不到任何关于此的注释。我想将newFolderURL 地址设置为网站。这是在 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);
4

1 回答 1

0

我能够通过在应用程序对象中调用此方法来创建文件夹。这将创建一个新文件夹,您可以将其移动到您想要的任何导航文件夹。

Folder newFolder = this._Application.GetNamespace("MAPI").OpenSharedFolder("<the .ics usl>") as Folder;                
于 2012-04-20T18:19:41.453 回答