_OutlookBarGroups.Add(String, Object) Method

Definition

Adds a new, empty group to the Shortcuts pane.

public Microsoft.Office.Interop.Outlook.OutlookBarGroup Add (string Name, object Index);
Public Function Add (Name As String, Optional Index As Object) As OutlookBarGroup

Parameters

Name
String

The name of the group being created.

Index
Object

The position at which the new group will be inserted in the Shortcuts pane. Position one is at the top of the bar.

Returns

An OutlookBarGroup object that represents the new group.

Applies to