_OutlookBarGroups.Add Method

Adds a new, empty group to the Shortcuts pane.

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

Syntax

'Declaration
<DispIdAttribute()> _
Function Add ( _
    Name As String, _
    Index As Object _
) As OutlookBarGroup
'Usage
Dim instance As _OutlookBarGroups
Dim Name As String
Dim Index As Object
Dim returnValue As OutlookBarGroup

returnValue = instance.Add(Name, Index)
[DispIdAttribute()]
OutlookBarGroup Add(
    string Name,
    Object Index
)

Parameters

  • Index
    Type: System.Object

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

Return Value

Type: Microsoft.Office.Interop.Outlook.OutlookBarGroup
An OutlookBarGroup object that represents the new group.

See Also

Reference

_OutlookBarGroups Interface

_OutlookBarGroups Members

Microsoft.Office.Interop.Outlook Namespace