CommandBarControls.Item[Object] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.