次の方法で共有


_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
CommandBar this[
    Object Index
] { get; }

Parameters

Property Value

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

.NET Framework Security

See Also

Reference

_CommandBars Interface

Microsoft.VisualStudio.CommandBars Namespace