Partager via


_Worksheet.Index Property

Returns the index number of the object within the collection of similar objects. Read-only Integer.

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

Syntax

'Declaration
ReadOnly Property Index As Integer
    Get
'Usage
Dim instance As _Worksheet
Dim value As Integer

value = instance.Index
int Index { get; }

Property Value

Type: System.Int32

See Also

Reference

_Worksheet Interface

_Worksheet Members

Microsoft.Office.Interop.Excel Namespace