Excel for WPF | ComponentOne
C1.WPF.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 Integer
    public 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