_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)
Syntax
'Declaration
<DispIdAttribute()> _
Function GetDefaultNavigationGroup ( _
DefaultFolderGroup As OlGroupType _
) As NavigationGroup
'Usage
Dim instance As _NavigationGroups
Dim DefaultFolderGroup As OlGroupType
Dim returnValue As NavigationGroup
returnValue = instance.GetDefaultNavigationGroup(DefaultFolderGroup)
[DispIdAttribute()]
NavigationGroup GetDefaultNavigationGroup(
OlGroupType DefaultFolderGroup
)
Parameters
DefaultFolderGroup
Type: Microsoft.Office.Interop.Outlook.OlGroupTypeThe 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.
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.