Udostępnij za pośrednictwem


_CommandBars.Item[Object] Property

Definition

Gets the command bar that matches the given name or index.

public:
 property Microsoft::VisualStudio::CommandBars::CommandBar ^ default[System::Object ^] { Microsoft::VisualStudio::CommandBars::CommandBar ^ get(System::Object ^ Index); };
[System.Runtime.InteropServices.DispId(0)]
public 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 ReadOnly Property Item(Index As Object) As CommandBar

Parameters

Index
Object

The name or index.

Property Value

The CommandBar that matches the name or index.

Attributes

Applies to