_CommandBarButton.Index Property
Returns a value that indicates the index number for an object in the collection.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
ReadOnly Property Index As Integer
Get
'Usage
Dim instance As _CommandBarButton
Dim value As Integer
value = instance.Index
int Index { get; }
Property Value
Type: System.Int32
Implements
Remarks
The position of the first command bar control is 1. Separators are not counted in the CommandBarControls collection.