NavigationFolders Object (Outlook)
Published: July 16, 2012
Contains a set of NavigationFolder objects that represent the navigation folders associated with a navigation group.
Use the Add method to create a new NavigationFolder object based on an existing Folder object and add it to the collection. Use the Item method to return an existing NavigationFolder object contained by the NavigationFolders collection. Use the Remove method from the NavigationFolders collection of the parent NavigationGroup object.
Use the NavigationFolderAdd and NavigationFolderRemove events to detect when a navigation folder is added or removed, respectively, from the NavigationFolders object. Use the SelectedChange event to detect changes in selection state for navigation folders contained in the NavigationFolders object that are based on calendar folders.
Note that if you delete a Folder using Folder.Delete, the deletion will be reflected automatically in the Navigation Pane and in the NavigationFolders collection, but because the synchronization between the actual folders and the Navigation Pane happens asynchronously, this will take a few milliseconds to complete.