_CommandBars.Item Property

Gets the command bar that matches 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 CommandBar
    Get
用法
Dim instance As _CommandBars
Dim Index As Object
Dim value As CommandBar

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

Parameters

Property Value

Type: Microsoft.VisualStudio.CommandBars.CommandBar
The CommandBar that matches the name or index.

.NET Framework Security

See Also

Reference

_CommandBars Interface

_CommandBars Members

Microsoft.VisualStudio.CommandBars Namespace