ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLRowCollection Class / IndexOf Method
Item to look for.

In This Topic
    IndexOf Method (XLRowCollection)
    In This Topic
    Gets the index of a given XLRow object in the collection.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal row As XLRow _
    ) As System.Integer
    public System.int IndexOf( 
       XLRow row
    )

    Parameters

    row
    Item to look for.

    Return Value

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