NavigationGroups.GetDefaultNavigationGroup method (Outlook)

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

Syntax

expression. GetDefaultNavigationGroup( _DefaultFolderGroup_ )

expression A variable that represents a NavigationGroups object.

Parameters

Name Required/Optional Data type Description
DefaultFolderGroup Required OlGroupType The type of navigation group to be retrieved.

Return value

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

NavigationGroups Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.