共用方式為


CommandBarComboBox Interface

Represents a command bar combo box.

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

Syntax

'宣告
<GuidAttribute("B9223DAC-9C92-4916-9396-6E7673A93724")> _
Public Interface CommandBarComboBox _
    Inherits _CommandBarComboBox, _CommandBarComboBoxEvents_Event
[GuidAttribute("B9223DAC-9C92-4916-9396-6E7673A93724")]
public interface CommandBarComboBox : _CommandBarComboBox, 
    _CommandBarComboBoxEvents_Event

The CommandBarComboBox type exposes the following members.

Properties

  Name Description
Public property accChild[Object] Gets the child. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accChildCount Gets the number of children. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accDefaultAction[Object] Gets the default action. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accDescription[Object] Gets the description. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accFocus Gets the focus. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accHelp[Object] Gets the help string. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accHelpTopic[String%, Object] Gets the help topic. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accKeyboardShortcut[Object] Gets the keyboard shortcut. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accName[Object] Gets the name of the object. (Inherited from _CommandBarComboBox.)
Public property accParent Gets the parent. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accRole[Object] Gets the role. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accSelection Gets the selection. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accState[Object] Gets the state. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accValue[Object] Gets the value. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property Application Gets the DTE object. (Inherited from _CommandBarComboBox.)
Public property BeginGroup Determines whether this control is the first in its group. (Inherited from _CommandBarComboBox.)
Public property BuiltIn Determines whether this control is a custom control or a built-in control. (Inherited from _CommandBarComboBox.)
Public property Caption Gets or sets the caption of the control. (Inherited from _CommandBarComboBox.)
Public property Control Gets the control itself. (Inherited from _CommandBarComboBox.)
Public property Creator Gets the ID of the application. (Inherited from _CommandBarComboBox.)
Public property DescriptionText Always returns the empty string. (Inherited from _CommandBarComboBox.)
Public property DropDownLines Gets or sets the number of lines in the dropdown box. This property is deprecated (Inherited from _CommandBarComboBox.)
Public property DropDownWidth Gets or sets the width of the dropdown box. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property Enabled Determines whether the control is enabled. (Inherited from _CommandBarComboBox.)
Public property Height Gets the height of the control. (Inherited from _CommandBarComboBox.)
Public property HelpContextId Gets the help context ID. Always returns 0. (Inherited from _CommandBarComboBox.)
Public property HelpFile Always returns the empty string. (Inherited from _CommandBarComboBox.)
Public property Id Gets the ID of the control. (Inherited from _CommandBarComboBox.)
Public property Index Gets the index of this control in the set of controls on the command bar. (Inherited from _CommandBarComboBox.)
Public property InstanceId Gets the instance ID of this control. (Inherited from _CommandBarComboBox.)
Public property IsPriorityDropped Always returns false. (Inherited from _CommandBarComboBox.)
Public property Left Gets the left coordinates. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property List Gets or sets the item in the list at the specified index. (Inherited from _CommandBarComboBox.)
Public property ListCount Gets the number of items in the list. (Inherited from _CommandBarComboBox.)
Public property ListHeaderCount Gets or sets the list header count. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property ListIndex Gets or sets the (1-based) index of the selected item in the list. (Inherited from _CommandBarComboBox.)
Public property OLEUsage Gets or sets the OLE usage. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property OnAction Gets or sets the OnAction string. (Inherited from _CommandBarComboBox.)
Public property Parameter Gets or sets the parameter that is used with the command. (Inherited from _CommandBarComboBox.)
Public property Parent Gets the parent command bar. (Inherited from _CommandBarComboBox.)
Public property Priority Gets the priority. Always returns 1. (Inherited from _CommandBarComboBox.)
Public property Style Gets or sets the style of the combo box. (Inherited from _CommandBarComboBox.)
Public property Tag Gets or sets the tag (Inherited from _CommandBarComboBox.)
Public property Text Gets or sets the text. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property TooltipText Gets or sets the tooltip text. (Inherited from _CommandBarComboBox.)
Public property Top Gets the top. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property Type Gets the type of the control. (Inherited from _CommandBarComboBox.)
Public property Visible Determines whether this control is visible. (Inherited from _CommandBarComboBox.)
Public property Width Gets or sets the width of the control. (Inherited from _CommandBarComboBox.)

Top

Methods

  Name Description
Public method accDoDefaultAction(Object) Performs the default action. This method is deprecated. (Inherited from _CommandBarComboBox.)
Public method accHitTest(Int32, Int32) Gets the object at the specified coordinates. This method is deprecated. (Inherited from _CommandBarComboBox.)
Public method accLocation(Int32%, Int32%, Int32%, Int32%, Object) Gets the location of the control. This method is deprecated. (Inherited from _CommandBarComboBox.)
Public method accNavigate(Int32, Object) Navigates to another object. This method is deprecated. (Inherited from _CommandBarComboBox.)
Public method accSelect(Int32, Object) Selects an object. This method is deprecated. (Inherited from _CommandBarComboBox.)
Public method add_Change Infrastructure. Microsoft Internal Use Only. (Inherited from _CommandBarComboBoxEvents_Event.)
Public method AddItem Adds an item. This method is deprecated. (Inherited from _CommandBarComboBox.)
Public method Clear Clears the list. This method is deprecated. (Inherited from _CommandBarComboBox.)
Public method Copy(Object, Object) Copies this control to the specified position on the specified command bar. (Inherited from _CommandBarComboBox.)
Public method Delete(Object) Removes this control from the collection. (Inherited from _CommandBarComboBox.)
Public method Execute() Performs the action of this control. (Inherited from _CommandBarComboBox.)
Public method Move(Object, Object) Moves this control to the specified command bar at the specified position. (Inherited from _CommandBarComboBox.)
Public method remove_Change Infrastructure. Microsoft Internal Use Only. (Inherited from _CommandBarComboBoxEvents_Event.)
Public method RemoveItem Removes the item at the specified index. This method is deprecated. (Inherited from _CommandBarComboBox.)
Public method Reserved1() Reserved. (Inherited from _CommandBarComboBox.)
Public method Reserved2() Reserved. (Inherited from _CommandBarComboBox.)
Public method Reserved3() Reserved. (Inherited from _CommandBarComboBox.)
Public method Reserved4() Reserved. (Inherited from _CommandBarComboBox.)
Public method Reserved5() Reserved. (Inherited from _CommandBarComboBox.)
Public method Reserved6() Reserved. (Inherited from _CommandBarComboBox.)
Public method Reserved7() Reserved. (Inherited from _CommandBarComboBox.)
Public method Reset() Resets the control. (Inherited from _CommandBarComboBox.)
Public method SetFocus() Sets the focus on the control. (Inherited from _CommandBarComboBox.)

Top

Events

  Name Description
Public event Change The Change event. (Inherited from _CommandBarComboBoxEvents_Event.)

Top

See Also

Reference

Microsoft.VisualStudio.CommandBars Namespace