Share via


NavigationFolders Interface

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<CoClassAttribute(GetType(NavigationFoldersClass))> _
<GuidAttribute("000630F1-0000-0000-C000-000000000046")> _
Public Interface NavigationFolders _
    Inherits _NavigationFolders
'Usage
Dim instance As NavigationFolders
[CoClassAttribute(typeof(NavigationFoldersClass))]
[GuidAttribute("000630F1-0000-0000-C000-000000000046")]
public interface NavigationFolders : _NavigationFolders

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _NavigationFolders.

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 property (this in C#) 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 MAPIFolder.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

Reference

NavigationFolders Members

Microsoft.Office.Interop.Outlook Namespace