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

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

    Parameters

    col
    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