OutlookBarShortcuts OutlookBarShortcuts OutlookBarShortcuts Interface

Definition

Contains a set of OutlookBarShortcut objects representing all shortcuts in a group in the Shortcuts pane.

public interface class OutlookBarShortcuts : Microsoft::Office::Interop::Outlook::_OutlookBarShortcuts, Microsoft::Office::Interop::Outlook::OutlookBarShortcutsEvents_Event
[System.Runtime.InteropServices.Guid("00063074-0000-0000-C000-000000000046")]
public interface OutlookBarShortcuts : Microsoft.Office.Interop.Outlook._OutlookBarShortcuts, Microsoft.Office.Interop.Outlook.OutlookBarShortcutsEvents_Event
Public Interface OutlookBarShortcuts
Implements _OutlookBarShortcuts, OutlookBarShortcutsEvents_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 _OutlookBarShortcuts. For information about the event members of the COM object, see OutlookBarShortcutsEvents_Event.

Use the Shortcuts property to return the OutlookBarShortcuts collection object from the OutlookBarGroup object.

Methods

Add(Object, String, Object) Add(Object, String, Object) Add(Object, String, Object)

Adds a new shortcut to a group in the Shortcuts pane.

(Inherited from _OutlookBarShortcuts)

Remove(Object) Remove(Object) Remove(Object)

Removes an object from the collection.

(Inherited from _OutlookBarShortcuts)

Properties

Application Application Application

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

(Inherited from _OutlookBarShortcuts)

Class Class Class

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

(Inherited from _OutlookBarShortcuts)

Count Count Count

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

(Inherited from _OutlookBarShortcuts)

Item[Object] Item[Object] Item[Object]

Returns an OutlookBarShortcut object from the collection.

(Inherited from _OutlookBarShortcuts)

Parent Parent Parent

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

(Inherited from _OutlookBarShortcuts)

Session Session Session

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

(Inherited from _OutlookBarShortcuts)

Events

BeforeShortcutAdd BeforeShortcutAdd BeforeShortcutAdd

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

(Inherited from OutlookBarShortcutsEvents_Event)

BeforeShortcutRemove BeforeShortcutRemove BeforeShortcutRemove

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

(Inherited from OutlookBarShortcutsEvents_Event)

ShortcutAdd ShortcutAdd ShortcutAdd

Occurs when a new shortcut is added to a Shortcuts pane group.

(Inherited from OutlookBarShortcutsEvents_Event)

Applies to