FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / CellRangeCollection Class / IndexOf Method / IndexOf(CellRange) Method
Object to locate in the collection.

In This Topic
    IndexOf(CellRange) Method
    In This Topic
    Gets the index of a CellRange object in the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function IndexOf( _
       ByVal item As CellRange _
    ) As Integer
    public int IndexOf( 
       CellRange item
    )

    Parameters

    item
    Object to locate in the collection.

    Return Value

    The index of the object in the collection, or -1 if the object is not a member of the collection.
    See Also