共用方式為


NavigationFolders Object (Outlook)

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

Version Information

Version Added: Outlook 2007

Remarks

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.

See Also

Concepts

Outlook Object Model Reference

NavigationFolders Object Members