Sdílet prostřednictvím


CommandBarPopup.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 CommandBarPopup
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

CommandBarPopup Interface

CommandBarPopup Members

Index Overload

Microsoft.Office.Core Namespace