Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Declaration
ReadOnly Default Property Item ( _
Index As Object _
) As CommandBarControl
CommandBarControl this[
Object Index
] { get; }
property CommandBarControl^ default[[InAttribute] Object^ Index] {
CommandBarControl^ get ([InAttribute] Object^ Index);
}
abstract Item :
Index:Object -> CommandBarControl with get
JScript does not support indexed properties.
Parameters
Index
Type: System.ObjectThe name or index of the control.
Property Value
Type: Microsoft.VisualStudio.CommandBars.CommandBarControl
The CommandBarControl.
Remarks
This collection is 1-based.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.