Partager via


NavigationGroup Interface

Represents a navigation group displayed by 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(NavigationGroupClass))> _
<GuidAttribute("000630F0-0000-0000-C000-000000000046")> _
Public Interface NavigationGroup _
    Inherits _NavigationGroup
'Usage
Dim instance As NavigationGroup
[CoClassAttribute(typeof(NavigationGroupClass))]
[GuidAttribute("000630F0-0000-0000-C000-000000000046")]
public interface NavigationGroup : _NavigationGroup

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

Use the Item property (this in C#) to retrieve a NavigationGroup object from the NavigationGroups collection of a parent navigation module, such as a MailModule object. Use the Create method of the NavigationGroups collection to create a new NavigationGroup object.

Use the GroupType property to determine the group type of the navigation group and the Position property to return or set the display position of the navigation group within the Navigation Pane. You can also use the Name property to return or set the display name of the navigation group within the Navigation Pane.

Use the NavigationFolders property to return a NavigationFolders object containing the navigation folders for the specified navigation group.

See Also

Reference

NavigationGroup Members

Microsoft.Office.Interop.Outlook Namespace