Freigeben über


_CommandBarButton Members

Include Protected Members
Include Inherited Members

Represents a command bar button.

The _CommandBarButton type exposes the following members.

Methods

  Name Description
Public method accDoDefaultAction(Object) Performs the default action. This method is deprecated.
Public method accDoDefaultAction(Object) Performs the default action. This method is deprecated. (Inherited from CommandBarControl.)
Public method accHitTest(Int32, Int32) Gets the object at the specified coordinates. This method is deprecated.
Public method accHitTest(Int32, Int32) Gets the object at the specified coordinates. This method is deprecated. (Inherited from CommandBarControl.)
Public method accLocation(Int32%, Int32%, Int32%, Int32%, Object) Gets the location of the control. This method is deprecated.
Public method accLocation(Int32%, Int32%, Int32%, Int32%, Object) Gets the location of the control. This method is deprecated. (Inherited from CommandBarControl.)
Public method accNavigate(Int32, Object) Navigates to another object. This method is deprecated.
Public method accNavigate(Int32, Object) Navigates to another object. This method is deprecated. (Inherited from CommandBarControl.)
Public method accSelect(Int32, Object) Selects an object. This method is deprecated.
Public method accSelect(Int32, Object) Selects an object. This method is deprecated. (Inherited from CommandBarControl.)
Public method Copy(Object, Object) Copies this control to the specified position on the specified command bar.
Public method Copy Copies this control to the specified position on the specified command bar. (Inherited from CommandBarControl.)
Public method CopyFace Copies the image. This method is deprecated.
Public method Delete(Object) Removes this control from the collection.
Public method Delete Removes this control from the collection. (Inherited from CommandBarControl.)
Public method Execute() Performs the action of this control.
Public method Execute Performs the action of this control. (Inherited from CommandBarControl.)
Public method Move(Object, Object) Moves this control to the specified command bar at the specified position.
Public method Move Moves this control to the specified command bar at the specified position. (Inherited from CommandBarControl.)
Public method PasteFace Pastes the image. This method is deprecated.
Public method Reserved1() Reserved.
Public method Reserved1 Reserved. (Inherited from CommandBarControl.)
Public method Reserved2() Reserved.
Public method Reserved2 Reserved. (Inherited from CommandBarControl.)
Public method Reserved3() Reserved.
Public method Reserved3 Reserved. (Inherited from CommandBarControl.)
Public method Reserved4() Reserved.
Public method Reserved4 Reserved. (Inherited from CommandBarControl.)
Public method Reserved5() Reserved.
Public method Reserved5 Reserved. (Inherited from CommandBarControl.)
Public method Reserved6() Reserved.
Public method Reserved6 Reserved. (Inherited from CommandBarControl.)
Public method Reserved7() Reserved.
Public method Reserved7 Reserved. (Inherited from CommandBarControl.)
Public method Reset() Resets the button.
Public method Reset Resets the control. (Inherited from CommandBarControl.)
Public method SetFocus() Sets the focus.
Public method SetFocus Sets the focus on the control. (Inherited from CommandBarControl.)

Top

Properties

  Name Description
Public property accChild[Object] Gets the child. This property is deprecated.
Public property accChild[Object] Gets the child. This property is deprecated. (Inherited from CommandBarControl.)
Public property accChildCount Gets the number of children. This property is deprecated.
Public property accChildCount Gets the number of children. This property is deprecated. (Inherited from CommandBarControl.)
Public property accDefaultAction[Object] Gets the default action. This property is deprecated.
Public property accDefaultAction[Object] Gets the default action. This property is deprecated. (Inherited from CommandBarControl.)
Public property accDescription[Object] Gets the description. This property is deprecated.
Public property accDescription[Object] Gets the description. This property is deprecated. (Inherited from CommandBarControl.)
Public property accFocus Gets the focus. This property is deprecated.
Public property accFocus Gets the focus. This property is deprecated. (Inherited from CommandBarControl.)
Public property accHelp[Object] Gets the help. This property is deprecated.
Public property accHelp[Object] Gets the help string. This property is deprecated. (Inherited from CommandBarControl.)
Public property accHelpTopic[String%, Object] Gets the help topic. This property is deprecated.
Public property accHelpTopic[String%, Object] Gets the help topic. This property is deprecated. (Inherited from CommandBarControl.)
Public property accKeyboardShortcut[Object] Gets the keyboard shortcut. This property is deprecated.
Public property accKeyboardShortcut[Object] Gets the keyboard shortcut. (Inherited from CommandBarControl.)
Public property accName[Object] Gets the name of the object.
Public property accName[Object] Gets the name of the object. (Inherited from CommandBarControl.)
Public property accParent Gets the parent. This property is deprecated.
Public property accParent Gets the parent. This property is deprecated. (Inherited from CommandBarControl.)
Public property accRole[Object] Gets the role. This property is deprecated.
Public property accRole[Object] Gets the role. This property is deprecated. (Inherited from CommandBarControl.)
Public property accSelection Gets the selection. This property is deprecated.
Public property accSelection Gets the selection. This property is deprecated. (Inherited from CommandBarControl.)
Public property accState[Object] Gets the state. This property is deprecated.
Public property accState[Object] Gets the state. This property is deprecated. (Inherited from CommandBarControl.)
Public property accValue[Object] Gets the value. This property is deprecated.
Public property accValue[Object] Gets the value. This property is deprecated. (Inherited from CommandBarControl.)
Public property Application Gets the DTE object.
Public property Application Gets the DTE object. (Inherited from CommandBarControl.)
Public property BeginGroup Determines whether this control is the first in its group.
Public property BeginGroup Determines whether this control is the first in its group. (Inherited from CommandBarControl.)
Public property BuiltIn Determines whether this control is a custom control or a built-in control.
Public property BuiltIn Determines whether this control is a custom control or a built-in control. (Inherited from CommandBarControl.)
Public property BuiltInFace The built-in image. This property is deprecated.
Public property Caption Gets the caption of the control.
Public property Caption Gets or sets the caption of the control. (Inherited from CommandBarControl.)
Public property Control Gets the control itself.
Public property Control Gets the control itself. (Inherited from CommandBarControl.)
Public property Creator Gets the ID of the application.
Public property Creator Gets the ID of the application. (Inherited from CommandBarControl.)
Public property DescriptionText Always returns the empty string.
Public property DescriptionText Always returns the empty string. (Inherited from CommandBarControl.)
Public property Enabled Determines whether the control is enabled.
Public property Enabled Determines whether the control is enabled. (Inherited from CommandBarControl.)
Public property FaceId This property is deprecated.
Public property Height Gets the height of the button.
Public property Height Gets or sets the height of the control. (Inherited from CommandBarControl.)
Public property HelpContextId Gets the help context ID. Always returns 0.
Public property HelpContextId Gets the help context ID. Always returns 0. (Inherited from CommandBarControl.)
Public property HelpFile Always returns the empty string.
Public property HelpFile Always returns the empty string. (Inherited from CommandBarControl.)
Public property HyperlinkType Gets the hyperlink type. This property is deprecated.
Public property Id Gets the identifier of the button.
Public property Id Gets the ID of the control. (Inherited from CommandBarControl.)
Public property Index Gets the index of this control in the set of controls on the command bar.
Public property Index Gets the index of this control in the set of controls on the command bar. (Inherited from CommandBarControl.)
Public property InstanceId Gets the instance ID of this control.
Public property InstanceId Gets the instance ID of this control. (Inherited from CommandBarControl.)
Public property IsPriorityDropped Determines whether the priority has been lowered. Always returns false.
Public property IsPriorityDropped Always returns false. (Inherited from CommandBarControl.)
Public property Left Gets the left coordinates. This property is deprecated.
Public property Left Gets the left coordinates. This property is deprecated. (Inherited from CommandBarControl.)
Public property Mask Gets the mask. This property is deprecated.
Public property OLEUsage Gets or sets the OLE usage. This property is deprecated.
Public property OLEUsage Gets or sets the OLE usage. This property is deprecated. (Inherited from CommandBarControl.)
Public property OnAction Gets or sets the OnAction string.
Public property OnAction Gets or sets the OnAction string. (Inherited from CommandBarControl.)
Public property Parameter Gets or sets the parameter that is used with the command.
Public property Parameter Gets or sets the parameter that is used with the command. (Inherited from CommandBarControl.)
Public property Parent Gets the parent command bar.
Public property Parent Gets the parent command bar. (Inherited from CommandBarControl.)
Public property Picture Gets or sets the icon that appears on the button.
Public property Priority Gets the priority. Always returns 1.
Public property Priority Gets the priority. Always returns 1. (Inherited from CommandBarControl.)
Public property ShortcutText Gets or sets the shortcut text. This property is deprecated.
Public property State Gets or sets the state. This property is deprecated.
Public property Style Gets or sets the button style.
Public property Tag Gets or sets the tag. Not used in Visual Studio.
Public property Tag Gets or sets the tag (Inherited from CommandBarControl.)
Public property TooltipText Gets or sets the tooltip text.
Public property TooltipText Gets or sets the tooltip text. (Inherited from CommandBarControl.)
Public property Top Gets the top. This property is deprecated.
Public property Top Gets the top. This property is deprecated. (Inherited from CommandBarControl.)
Public property Type Gets the type of the control.
Public property Type Gets the type of the control. (Inherited from CommandBarControl.)
Public property Visible Determines whether this control is visible.
Public property Visible Determines whether this control is visible. (Inherited from CommandBarControl.)
Public property Width Gets or sets the width of the control.
Public property Width Gets or sets the width of the control. (Inherited from CommandBarControl.)

Top

See Also

Reference

_CommandBarButton Interface

Microsoft.VisualStudio.CommandBars Namespace