_CommandBars.Item 属性

获取与给定名称或索引的命令栏。

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

语法

声明
ReadOnly Default Property Item ( _
    Index As Object _
) As CommandBar
CommandBar this[
    Object Index
] { get; }

参数

属性值

类型:Microsoft.VisualStudio.CommandBars.CommandBar
匹配名称或索引的 CommandBar

.NET Framework 安全性

请参见

参考

_CommandBars 接口

Microsoft.VisualStudio.CommandBars 命名空间