共用方式為


CommandBarComboBox Members

Include Protected Members
Include Inherited Members

Represents a command bar combo box.

The CommandBarComboBox type exposes the following members.

Methods

  Name Description
Public method accDoDefaultAction Performs the default action. This method is deprecated. (Inherited from _CommandBarComboBox.)
Public method accHitTest Gets the object at the specified coordinates. This method is deprecated. (Inherited from _CommandBarComboBox.)
Public method accLocation Gets the location of the control. This method is deprecated. (Inherited from _CommandBarComboBox.)
Public method accNavigate Navigates to another object. This method is deprecated. (Inherited from _CommandBarComboBox.)
Public method accSelect Selects an object. This method is deprecated. (Inherited from _CommandBarComboBox.)
Public method add_Change Adds a command bar combo box Change event handler. (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 Copies this control to the specified position on the specified command bar. (Inherited from _CommandBarComboBox.)
Public method Delete Removes this control from the collection. (Inherited from _CommandBarComboBox.)
Public method Execute Performs the action of this control. (Inherited from _CommandBarComboBox.)
Public method Move Moves this control to the specified command bar at the specified position. (Inherited from _CommandBarComboBox.)
Public method remove_Change Removes a command bar combo box Change event handler. (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

Properties

  Name Description
Public property accChild 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 Gets the default action. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accDescription 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 Gets the help string. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accHelpTopic Gets the help topic. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accKeyboardShortcut Gets the keyboard shortcut. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accName 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 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 Gets the state. This property is deprecated. (Inherited from _CommandBarComboBox.)
Public property accValue 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

Events

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

Top

See Also

Reference

CommandBarComboBox Interface

Microsoft.VisualStudio.CommandBars Namespace