CommandBarsClass.Item[Object] Свойство

Определение

Получает панель команд, соответствующую заданному имени или индексу.

public:
 virtual property Microsoft::VisualStudio::CommandBars::CommandBar ^ default[System::Object ^] { Microsoft::VisualStudio::CommandBars::CommandBar ^ get(System::Object ^ Index); };
[System.Runtime.InteropServices.DispId(0)]
public virtual Microsoft.VisualStudio.CommandBars.CommandBar this[object Index] { [System.Runtime.InteropServices.DispId(0)] get; }
[<System.Runtime.InteropServices.DispId(0)>]
[<get: System.Runtime.InteropServices.DispId(0)>]
member this.Item(obj) : Microsoft.VisualStudio.CommandBars.CommandBar
Default Public Overridable ReadOnly Property Item(Index As Object) As CommandBar

Параметры

Index
Object

Имя или индекс.

Значение свойства

CommandBar

Объект CommandBar, соответствующий имени или индексу.

Реализации

Атрибуты

Примечания для тех, кто наследует этот метод

Этот метод должен допускать в качестве параметров либо индекс (от 1), либо имя панели команд.

Применяется к