OutlookBarGroups Interface

Definition

Contains a set of OutlookBarGroup objects representing all groups in the Shortcuts pane. For information about the event members of the COM object, see OutlookBarGroupsEvents_Event.

public interface class OutlookBarGroups : Microsoft::Office::Interop::Outlook::_OutlookBarGroups, Microsoft::Office::Interop::Outlook::OutlookBarGroupsEvents_Event
[System.Runtime.InteropServices.Guid("00063072-0000-0000-C000-000000000046")]
public interface OutlookBarGroups : Microsoft.Office.Interop.Outlook._OutlookBarGroups, Microsoft.Office.Interop.Outlook.OutlookBarGroupsEvents_Event
Public Interface OutlookBarGroups
Implements _OutlookBarGroups, OutlookBarGroupsEvents_Event
Derived
Attributes
Implements

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _OutlookBarGroups. For information about the event members of the COM object, see OutlookBarGroupsClass.

Use the Groups property to return the OutlookBarGroups object from the OutlookBarStorage object.

Use Groups(index), where index is the name of an available group, to return a single OutlookBarGroup object.

Properties

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

(Inherited from _OutlookBarGroups)
Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

(Inherited from _OutlookBarGroups)
Count

Returns an Integer (int in C#) value indicating the count of objects in the specified collection. Read-only.

(Inherited from _OutlookBarGroups)
Item[Object]

Returns an OutlookBarGroup object from the collection.

(Inherited from _OutlookBarGroups)
Parent

Returns the parent Object of the specified object. Read-only.

(Inherited from _OutlookBarGroups)
Session

Returns the NameSpace object for the current session. Read-only.

(Inherited from _OutlookBarGroups)

Methods

Add(String, Object)

Adds a new, empty group to the Shortcuts pane.

(Inherited from _OutlookBarGroups)
Remove(Object)

Removes an object from the collection.

(Inherited from _OutlookBarGroups)

Events

BeforeGroupAdd

Occurs before a new group is added to the Shortcuts pane, either as a result of user action or through program code.

(Inherited from OutlookBarGroupsEvents_Event)
BeforeGroupRemove

Occurs before a new group is removed from the Shortcuts pane, either as a result of user action or through program code.

(Inherited from OutlookBarGroupsEvents_Event)
GroupAdd

Occurs when a new group has been added to the Shortcuts paneShortcuts pane.

(Inherited from OutlookBarGroupsEvents_Event)

Applies to