다음을 통해 공유


CommandBarButton Interface

Represents the command bar button.

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

Syntax

‘선언
<GuidAttribute("E11C7CE2-8641-4183-9458-309C6A201CDD")> _
Public Interface CommandBarButton _
    Inherits _CommandBarButton, _CommandBarButtonEvents_Event
‘사용 방법
Dim instance As CommandBarButton
[GuidAttribute("E11C7CE2-8641-4183-9458-309C6A201CDD")]
public interface CommandBarButton : _CommandBarButton, 
    _CommandBarButtonEvents_Event
[GuidAttribute(L"E11C7CE2-8641-4183-9458-309C6A201CDD")]
public interface class CommandBarButton : _CommandBarButton, 
    _CommandBarButtonEvents_Event
[<GuidAttribute("E11C7CE2-8641-4183-9458-309C6A201CDD")>]
type CommandBarButton =  
    interface
        interface _CommandBarButton
        interface _CommandBarButtonEvents_Event
    end
public interface CommandBarButton extends _CommandBarButton, _CommandBarButtonEvents_Event

Remarks

A _CommandBarButton implements only CommandBarControl, which defines no events. A CommandBarButton implements both _CommandBarButton and _CommandBarButtonEvents_Event. CommandBarButtonClass implements all three interfaces.

See Also

Reference

CommandBarButton Members

Microsoft.VisualStudio.CommandBars Namespace