OLEObject.Index Property

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

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

Syntax

'Declaration
Public ReadOnly Property Index As Integer
    Get
'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.

.NET Framework Security

See Also

Reference

OLEObject Class

OLEObject Members

Microsoft.Office.Tools.Excel Namespace