NavigationGroups.Delete Method
Outlook Developer Reference |
Deletes the specified NavigationGroup object from the NavigationGroups collection.
Version Information
Version Added: Outlook 2007
Syntax
expression.Delete(Group)
expression A variable that represents a NavigationGroups object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Group | Required | NavigationGroup | The navigation group to be deleted. |
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