_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)

NavigationGroup GetDefaultNavigationGroup(
	OlGroupType DefaultFolderGroup


Type: Microsoft.Office.Interop.Outlook.OlGroupType

The type of navigation group to be retrieved.

Return value

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

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.