Partager via


_NavigationGroups.Delete Method

Deletes the specified NavigationGroup object from the NavigationGroups collection.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Sub Delete ( _
    Group As NavigationGroup _
)
'Usage
Dim instance As _NavigationGroups
Dim Group As NavigationGroup

instance.Delete(Group)
[DispIdAttribute()]
void Delete(
    NavigationGroup Group
)

Parameters

Remarks

The Delete method raises an error if:

  • The navigation group specified in Group contains navigation folders in its NavigationFolders collection.

  • The GroupType property of the navigation group specified in Group is set to olMyFoldersGroup.

  • The parent of the NavigationGroups collection is a MailModule object.

See Also

Reference

_NavigationGroups Interface

_NavigationGroups Members

Microsoft.Office.Interop.Outlook Namespace