Share via


CommandBarControls.Item[Object] Property

Definition

Gets the command bar control at the given name or index.

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

Parameters

Index
Object

The name or index of the control.

Property Value

The CommandBarControl.

Attributes

Remarks

This collection is 1-based.

Applies to