NavigationFolder Interface

Represents a navigation folder displayed in a navigation group of a navigation module in the Navigation Pane.

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

Syntax

'Declaration
<CoClassAttribute(GetType(NavigationFolderClass))> _
<GuidAttribute("000630F2-0000-0000-C000-000000000046")> _
Public Interface NavigationFolder _
    Inherits _NavigationFolder
'Usage
Dim instance As NavigationFolder
[CoClassAttribute(typeof(NavigationFolderClass))]
[GuidAttribute("000630F2-0000-0000-C000-000000000046")]
public interface NavigationFolder : _NavigationFolder

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 _NavigationFolder.

Use the Item property (this in C#) to retrieve a NavigationFolder object from the NavigationFolders collection of the parent NavigationGroup object. Use the Add method of the NavigationFolders collection to create a new NavigationFolder object based on an existing Folder object.

Use the Folder method to return or set the Folder object on which the NavigationFolder object is based.

Use the IsSelected property to determine if the navigation folder is selected and the Position property to return or set the display position of the navigation folder within the Navigation Pane. You can also use the DisplayName property to return the display name of the navigation folder within the Navigation Pane.

Use the IsRemovable property to determine if a navigation folder can be removed from the NavigationFolders collection and the IsSideBySide property to return or set the viewing mode for a navigation folder associated with a CalendarModule object.

See Also

Reference

NavigationFolder Members

Microsoft.Office.Interop.Outlook Namespace