Spread WPF 18
GrapeCity.Wpf.SpreadSheet Namespace / SheetInfoCollection Class / IndexOf Method
The sheet to find the index for.


In This Topic
    IndexOf Method (SheetInfoCollection)
    In This Topic
    Gets the index of a sheet.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal item As SheetInfo _
    ) As Integer
    'Usage
     
    Dim instance As SheetInfoCollection
    Dim item As SheetInfo
    Dim value As Integer
     
    value = instance.IndexOf(item)
    public int IndexOf( 
       SheetInfo item
    )

    Parameters

    item
    The sheet to find the index for.

    Return Value

    The index of the sheet. -1 means the sheet is not in the list.
    See Also