Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetViewCollection Class / IndexOf Method
Sheet whose index to return
Example


In This Topic
    IndexOf Method (SheetViewCollection)
    In This Topic
    Gets the index of a specified sheet in the collection.
    Syntax
    'Declaration
     
    Public 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)
    public int IndexOf( 
       SheetView sheetView
    )

    Parameters

    sheetView
    Sheet whose index to return

    Return Value

    Integer index of the sheet in the collection
    Example
    This example returns the index of the specified sheet.
    See Also