Share via


_CommandBarComboBox.Index Property

Returns an Integer representing 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 _CommandBarComboBox
Dim value As Integer

value = instance.Index
int Index { get; }

Property Value

Type: System.Int32

Implements

CommandBarControl.Index

Remarks

The position of the first command bar control is 1. Separators are not counted in the CommandBarControls collection.

See Also

Reference

_CommandBarComboBox Interface

_CommandBarComboBox Members

Index Overload

Microsoft.Office.Core Namespace