次の方法で共有


CommandBarControls Interface

A set of command bar controls.

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

Syntax

'宣言
<GuidAttribute("9F0A2735-2303-4E7B-82A9-21101530B842")> _
Public Interface CommandBarControls _
    Inherits _IVsMsoDispObj, IEnumerable
[GuidAttribute("9F0A2735-2303-4E7B-82A9-21101530B842")]
public interface CommandBarControls : _IVsMsoDispObj, 
    IEnumerable

The CommandBarControls type exposes the following members.

Properties

  Name Description
Public property Application Gets the DTE object. (Inherited from _IVsMsoDispObj.)
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. (Inherited from _IVsMsoDispObj.)
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() Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public method GetEnumerator() Gets the enumerator.

Top

See Also

Reference

Microsoft.VisualStudio.CommandBars Namespace