Edit

Share via


_NavigationGroups.GetDefaultNavigationGroup(OlGroupType) Method

Definition

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

public:
 Microsoft::Office::Interop::Outlook::NavigationGroup ^ GetDefaultNavigationGroup(Microsoft::Office::Interop::Outlook::OlGroupType DefaultFolderGroup);
public Microsoft.Office.Interop.Outlook.NavigationGroup GetDefaultNavigationGroup (Microsoft.Office.Interop.Outlook.OlGroupType DefaultFolderGroup);
Public Function GetDefaultNavigationGroup (DefaultFolderGroup As OlGroupType) As NavigationGroup

Parameters

DefaultFolderGroup
OlGroupType

The type of navigation group to be retrieved.

Returns

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.

Applies to