NavigationFolders Object
TOC
Collapse the table of content
Expand the table of content

NavigationFolders Object (Outlook)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Contains a set of NavigationFolder objects that represent the navigation folders associated with a navigation group.

Use the NavigationFolders property of the NavigationGroup object to return a NavigationFolders object.

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.

Show:
© 2016 Microsoft