CommandBarButton 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示命令栏按钮。
public interface class CommandBarButton : Microsoft::VisualStudio::CommandBars::_CommandBarButton, Microsoft::VisualStudio::CommandBars::_CommandBarButtonEvents_Event
public interface class CommandBarButton : Microsoft::VisualStudio::CommandBars::_CommandBarButton, Microsoft::VisualStudio::CommandBars::_CommandBarButtonEvents_Event
__interface CommandBarButton : Microsoft::VisualStudio::CommandBars::_CommandBarButton, Microsoft::VisualStudio::CommandBars::_CommandBarButtonEvents_Event
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.CommandBars.CommandBarButtonClass))]
[System.Runtime.InteropServices.Guid("E11C7CE2-8641-4183-9458-309C6A201CDD")]
public interface CommandBarButton : Microsoft.VisualStudio.CommandBars._CommandBarButton, Microsoft.VisualStudio.CommandBars._CommandBarButtonEvents_Event
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.CommandBars.CommandBarButtonClass))>]
[<System.Runtime.InteropServices.Guid("E11C7CE2-8641-4183-9458-309C6A201CDD")>]
type CommandBarButton = interface
interface _CommandBarButton
interface _CommandBarButtonEvents_Event
Public Interface CommandBarButton
Implements _CommandBarButton, _CommandBarButtonEvents_Event
- 派生
- 属性
- 实现
注解
_CommandBarButton仅用于 CommandBarControl 定义无事件的实现。 CommandBarButton同时实现 _CommandBarButton 和 _CommandBarButtonEvents_Event 。 CommandBarButtonClass 实现所有三个接口。
属性
方法
事件
| Click |
Click 事件。 仅限 Microsoft 内部使用。 (继承自 _CommandBarButtonEvents_Event) |