Partager via


CommandBarControls Interface

A set of command bar controls.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'Declaration
<GuidAttribute("9F0A2735-2303-4E7B-82A9-21101530B842")> _
Public Interface CommandBarControls _
    Inherits _IVsMsoDispObj, IEnumerable
[GuidAttribute("9F0A2735-2303-4E7B-82A9-21101530B842")]
public interface CommandBarControls : _IVsMsoDispObj, 
    IEnumerable
[GuidAttribute(L"9F0A2735-2303-4E7B-82A9-21101530B842")]
public interface class CommandBarControls : _IVsMsoDispObj, 
    IEnumerable
[<GuidAttribute("9F0A2735-2303-4E7B-82A9-21101530B842")>]
type CommandBarControls =  
    interface 
        interface _IVsMsoDispObj 
        interface IEnumerable 
    end
public interface CommandBarControls extends _IVsMsoDispObj, IEnumerable

The CommandBarControls type exposes the following members.

Properties

  Name Description
Public property Application Gets the DTE object.
Public property Count Gets the number of command bar controls.
Public property Creator Gets the ID of the application.
Public property Item Gets the command bar control at the given name or index.
Public property Parent Gets the parent of this list, which is the DTE object.

Top

Methods

  Name Description
Public method Add Adds a command bar control with the given characteristics.
Public method GetEnumerator Gets the enumerator.

Top

See Also

Reference

Microsoft.VisualStudio.CommandBars Namespace