共用方式為


CommandBar Interface

Represents a command bar.

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

Syntax

'宣告
<GuidAttribute("D27B4DFE-351C-4AD4-9211-F49BEC19106D")> _
Public Interface CommandBar _
    Inherits _IVsMsoOleAccDispObj
'用途
Dim instance As CommandBar
[GuidAttribute("D27B4DFE-351C-4AD4-9211-F49BEC19106D")]
public interface CommandBar : _IVsMsoOleAccDispObj
[GuidAttribute(L"D27B4DFE-351C-4AD4-9211-F49BEC19106D")]
public interface class CommandBar : _IVsMsoOleAccDispObj
[<GuidAttribute("D27B4DFE-351C-4AD4-9211-F49BEC19106D")>]
type CommandBar =  
    interface
        interface _IVsMsoOleAccDispObj
    end
public interface CommandBar extends _IVsMsoOleAccDispObj

See Also

Reference

CommandBar Members

Microsoft.VisualStudio.CommandBars Namespace