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