CommandBarControls Interface
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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)

public interface CommandBarControls : _IMsoDispObj, 

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.

© 2015 Microsoft