_NavigationGroups.Create(String) 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.
Creates and returns a new NavigationGroup object, added to the end of the NavigationGroups collection.
public:
Microsoft::Office::Interop::Outlook::NavigationGroup ^ Create(System::String ^ GroupDisplayName);
public Microsoft.Office.Interop.Outlook.NavigationGroup Create (string GroupDisplayName);
Public Function Create (GroupDisplayName As String) As NavigationGroup
Parameters
Returns
A NavigationGroup object that represents the new navigation group.
Remarks
A NavigationGroups collection can contain multiple NavigationGroup objects with the same Name property values.
An error occurs if an add-in attempts to add more than 50 navigation groups to a NavigationGroups collection, or if an add-in attempts to add a NavigationGroup object to the NavigationGroups collection of a MailModule object.