CommandBarControls.Item Property

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

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

声明
ReadOnly Default Property Item ( _
    Index As Object _
) As CommandBarControl
    Get
用法
Dim instance As CommandBarControls
Dim Index As Object
Dim value As CommandBarControl

value = instance(Index)
CommandBarControl this[
    Object Index
] { get; }
property CommandBarControl^ default[[InAttribute] Object^ Index] {
    CommandBarControl^ get ([InAttribute] Object^ Index);
}
abstract Item : CommandBarControl
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.VisualStudio.CommandBars.CommandBarControl
The CommandBarControl.

Remarks

This collection is 1-based.

.NET Framework Security

See Also

Reference

CommandBarControls Interface

CommandBarControls Members

Microsoft.VisualStudio.CommandBars Namespace