CommandBarPopup.CommandBar 属性

获取命令栏拥有此控件。

命名空间:  Microsoft.VisualStudio.CommandBars
程序集:  Microsoft.VisualStudio.CommandBars(在 Microsoft.VisualStudio.CommandBars.dll 中)

语法

声明
ReadOnly Property CommandBar As CommandBar
CommandBar CommandBar { get; }

属性值

类型:Microsoft.VisualStudio.CommandBars.CommandBar
此控件拥有的命令栏。如果没有现有命令栏,此特性创建。

.NET Framework 安全性

请参见

参考

CommandBarPopup 接口

Microsoft.VisualStudio.CommandBars 命名空间