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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.