NavigationGroups.GetDefaultNavigationGroup Method

Outlook Developer Reference

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

Version Information
 Version Added:  Outlook 2007

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