Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetViewCollection Class / IndexOf Method
Sheet (SheetView object) for which to return the index


In This Topic
IndexOf Method (SheetViewCollection)
In This Topic
Returns the index of the specified sheet in the collection.
Syntax
'Declaration
 
Public Overridable Function IndexOf( _
   ByVal sheetView As SheetView _
) As Integer
 
'Usage
 
Dim instance As SheetViewCollection
Dim sheetView As SheetView
Dim value As Integer
 
value = instance.IndexOf(sheetView)

Parameters

sheetView
Sheet (SheetView object) for which to return the index

Return Value

Zero-based index of the sheet in the collection, or -1 if the sheet was not found
See Also