CommandBarControls Interface
A collection of CommandBarControl objects that represent the command bar controls on a command bar.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
<GuidAttribute("000C0306-0000-0000-C000-000000000046")> _
Public Interface CommandBarControls _
Inherits _IMsoDispObj, IEnumerable
'Usage
Dim instance As CommandBarControls
[GuidAttribute("000C0306-0000-0000-C000-000000000046")]
public interface CommandBarControls : _IMsoDispObj,
IEnumerable
Remarks
Use the Controls property to return the CommandBarControls collection.
Use the Add method to add a new command bar control to the CommandBarControls collection.
Use Controls(index), where index is the caption or index number of a control, to return a CommandBarControl, CommandBarButton, CommandBarComboBox, or CommandBarPopup object.