Compartilhar via


CommandBars Interface

Definition

Represents the set of command bars.

public interface class CommandBars : Microsoft::VisualStudio::CommandBars::_CommandBars, Microsoft::VisualStudio::CommandBars::_CommandBarsEvents_Event
public interface class CommandBars : Microsoft::VisualStudio::CommandBars::_CommandBars, Microsoft::VisualStudio::CommandBars::_CommandBarsEvents_Event, System::Collections::IEnumerable
public interface class CommandBars : Microsoft::VisualStudio::CommandBars::_CommandBars, Microsoft::VisualStudio::CommandBars::_CommandBarsEvents_Event
__interface CommandBars : Microsoft::VisualStudio::CommandBars::_CommandBars, Microsoft::VisualStudio::CommandBars::_CommandBarsEvents_Event
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.CommandBars.CommandBarsClass))]
[System.Runtime.InteropServices.Guid("83D31B2E-9990-4275-AE39-77D1FB5BBCD9")]
public interface CommandBars : Microsoft.VisualStudio.CommandBars._CommandBars, Microsoft.VisualStudio.CommandBars._CommandBarsEvents_Event
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.CommandBars.CommandBarsClass))]
[System.Runtime.InteropServices.Guid("83D31B2E-9990-4275-AE39-77D1FB5BBCD9")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface CommandBars : Microsoft.VisualStudio.CommandBars._CommandBars, Microsoft.VisualStudio.CommandBars._CommandBarsEvents_Event, System.Collections.IEnumerable
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.CommandBars.CommandBarsClass))>]
[<System.Runtime.InteropServices.Guid("83D31B2E-9990-4275-AE39-77D1FB5BBCD9")>]
type CommandBars = interface
    interface _CommandBars
    interface _CommandBarsEvents_Event
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.CommandBars.CommandBarsClass))>]
[<System.Runtime.InteropServices.Guid("83D31B2E-9990-4275-AE39-77D1FB5BBCD9")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type CommandBars = interface
    interface _CommandBars
    interface _IVsMsoDispObj
    interface IEnumerable
    interface _CommandBarsEvents_Event
Public Interface CommandBars
Implements _CommandBars, _CommandBarsEvents_Event
Public Interface CommandBars
Implements _CommandBars, _CommandBarsEvents_Event, IEnumerable
Derived
Attributes
Implements

Properties

ActionControl

Gets the CommandBarControl whose OnAction event initiated the procedure that is currently running.

(Inherited from _CommandBars)
ActiveMenuBar

Gets the menu bar that is currently active.

(Inherited from _CommandBars)
AdaptiveMenus

Determines whether the set of controls is determined by usage. Always returns false.

(Inherited from _CommandBars)
Application

Gets the DTE object.

(Inherited from _IVsMsoDispObj)
Count

Gets the number of CommandBars objects this contains.

(Inherited from _CommandBars)
Creator

Gets the ID of the application.

(Inherited from _IVsMsoDispObj)
DisableAskAQuestionDropdown

Determines whether the AskAQuestion dropdown is disabled. Always returns true.

(Inherited from _CommandBars)
DisableCustomize

Determines whether user customizations have been disabled.

(Inherited from _CommandBars)
DisplayFonts

Determines whether a font name in the Font dropdown is displayed with the font of that name. Always returns false.

(Inherited from _CommandBars)
DisplayKeysInTooltips

Determines whether key bindings are displayed in tooltips. Always returns true.

(Inherited from _CommandBars)
DisplayTooltips

Determines whether tooltips are displayed for command bar controls. Always returns true.

(Inherited from _CommandBars)
IdsString[Int32, String]

This property is deprecated.

(Inherited from _CommandBars)
Item[Object]

Gets the command bar that matches the given name or index.

(Inherited from _CommandBars)
LargeButtons

Determines whether large buttons are displayed on command bars. Always returns false.

(Inherited from _CommandBars)
MenuAnimationStyle

Gets or sets the kind of animation style that is used when menus are displayed. Always returns msoMenuAnimationNone.

(Inherited from _CommandBars)
Parent

Gets the parent of this command bar, which is the DTE object.

(Inherited from _CommandBars)
TmcGetName[Int32, String]

This method is deprecated.

(Inherited from _CommandBars)

Methods

add_OnUpdate(_CommandBarsEvents_OnUpdateEventHandler) (Inherited from _CommandBarsEvents_Event)
Add(Object, Object, Object, Object)

Adds a command bar.

(Inherited from _CommandBars)
AddEx(Object, Object, Object, Object, Object)

Adds a command bar, including its protection level.

(Inherited from _CommandBars)
FindControl(Object, Object, Object, Object)

Finds the command bar control that has the specified characteristics.

(Inherited from _CommandBars)
FindControls(Object, Object, Object, Object)

Finds all the command bar controls that match the given criteria.

(Inherited from _CommandBars)
get_IdsString(Int32, String) (Inherited from _CommandBars)
get_TmcGetName(Int32, String) (Inherited from _CommandBars)
GetEnumerator()

Gets the enumerator for this collection.

(Inherited from _CommandBars)
ReleaseFocus()

Releases the focus, if it is on a menu or toolbar.

(Inherited from _CommandBars)
remove_OnUpdate(_CommandBarsEvents_OnUpdateEventHandler) (Inherited from _CommandBarsEvents_Event)

Events

OnUpdate

Raised when a CommandBars object is updated. This event is deprecated.

(Inherited from _CommandBarsEvents_Event)

Applies to