共用方式為


CommandBarControl Interface

Represents a control (button, combo box, dropdown, or other element) on a command bar.

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

Syntax

'宣告
<GuidAttribute("43FD5911-7BAC-4BDC-AB6C-2DE65B5C0233")> _
Public Interface CommandBarControl _
    Inherits _IVsMsoOleAccDispObj
'用途
Dim instance As CommandBarControl
[GuidAttribute("43FD5911-7BAC-4BDC-AB6C-2DE65B5C0233")]
public interface CommandBarControl : _IVsMsoOleAccDispObj
[GuidAttribute(L"43FD5911-7BAC-4BDC-AB6C-2DE65B5C0233")]
public interface class CommandBarControl : _IVsMsoOleAccDispObj
[<GuidAttribute("43FD5911-7BAC-4BDC-AB6C-2DE65B5C0233")>]
type CommandBarControl =  
    interface
        interface _IVsMsoOleAccDispObj
    end
public interface CommandBarControl extends _IVsMsoOleAccDispObj

See Also

Reference

CommandBarControl Members

Microsoft.VisualStudio.CommandBars Namespace