_NavigationGroups.GetDefaultNavigationGroup(OlGroupType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.