다음을 통해 공유


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

‘선언
ReadOnly Property Index As Integer
    Get
‘사용 방법
Dim instance As CommandBar
Dim value As Integer

value = instance.Index
int Index { get; }
property int Index {
    int get ();
}
abstract Index : int
function get Index () : int

Property Value

Type: System.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

See Also

Reference

CommandBar Interface

CommandBar Members

Microsoft.VisualStudio.CommandBars Namespace