次の方法で共有


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

Parameters

Property Value

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

Remarks

This collection is 1-based.

.NET Framework Security

See Also

Reference

CommandBarControls Interface

Microsoft.VisualStudio.CommandBars Namespace