_NavigationGroups.GetDefaultNavigationGroup Method

Returns the NavigationGroup that corresponds to the selected default shared folder group.

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

Syntax

'Declaration
Function GetDefaultNavigationGroup ( _
    DefaultFolderGroup As OlGroupType _
) As NavigationGroup
'Usage
Dim instance As _NavigationGroups
Dim DefaultFolderGroup As OlGroupType
Dim returnValue As NavigationGroup

returnValue = instance.GetDefaultNavigationGroup(DefaultFolderGroup)
NavigationGroup GetDefaultNavigationGroup(
    OlGroupType DefaultFolderGroup
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Outlook.NavigationGroup
A NavigationGroup object that represents the selected default folder group.

Remarks

If the default navigation group specified in DefaultFolderGroup was deleted or otherwise doesn’t exist, it is automatically created if the parent NavigationModule object supports the specified navigation group type. An error occurs if the parent NavigationModule object does not support creating this navigation group type.

See Also

Reference

_NavigationGroups Interface

_NavigationGroups Members

Microsoft.Office.Interop.Outlook Namespace