CommandBar.Index Property
Gets the index of this command bar in the set of command bars.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Declaration
ReadOnly Property Index As Integer
int Index { get; }
property int Index {
int get ();
}
abstract Index : int with get
function get Index () : int
Property Value
Type: Int32
The index of this command bar in the set of command bars on the command bar.
Remarks
This index 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.