Compartilhar via


_CommandBars Interface

Definition

Represents the set of CommandBar objects.

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

Properties

ActionControl

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

ActiveMenuBar

Gets the menu bar that is currently active.

AdaptiveMenus

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

Application

Gets the DTE object.

Count

Gets the number of CommandBars objects this contains.

Creator

Gets the ID of the application.

DisableAskAQuestionDropdown

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

DisableCustomize

Determines whether user customizations have been disabled.

DisplayFonts

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

DisplayKeysInTooltips

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

DisplayTooltips

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

IdsString[Int32, String]

This property is deprecated.

Item[Object]

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

LargeButtons

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

MenuAnimationStyle

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

Parent

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

TmcGetName[Int32, String]

This method is deprecated.

Methods

Add(Object, Object, Object, Object)

Adds a command bar.

AddEx(Object, Object, Object, Object, Object)

Adds a command bar, including its protection level.

FindControl(Object, Object, Object, Object)

Finds the command bar control that has the specified characteristics.

FindControls(Object, Object, Object, Object)

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

get_IdsString(Int32, String)
get_TmcGetName(Int32, String)
GetEnumerator()

Gets the enumerator for this collection.

ReleaseFocus()

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

Applies to