共用方式為


CommandBarButtonClass.Execute Method

Performs the action of this control.

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

Syntax

'宣告
Public Overridable Sub Execute
'用途
Dim instance As CommandBarButtonClass

instance.Execute()
public virtual void Execute()
public:
virtual void Execute()
abstract Execute : unit -> unit 
override Execute : unit -> unit 
public function Execute()

Implements

_CommandBarButton.Execute()

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace