Share via


OLEObject.Index Property (2003 System)

Gets the index number of the OLEObject within the collection of similar objects.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Public ReadOnly Property Index As Integer
'Usage
Dim instance As OLEObject
Dim value As Integer

value = instance.Index
public int Index { get; }

Property Value

Type: System.Int32
The index number of the OLEObject within the collection of similar objects.

Permissions

See Also

Reference

OLEObject Class

OLEObject Members

Microsoft.Office.Tools.Excel Namespace