WinUI | ComponentOne
C1.WinUI.DataCollection Assembly / C1.WinUI.DataCollection Namespace / C1CollectionView Class / IndexOf Method
The object to locate in the collection.
In This Topic
    IndexOf Method (C1CollectionView)
    In This Topic
    Determines the index of a specific item in the collection.
    Syntax
    public int IndexOf( 
       object item
    )

    Parameters

    item
    The object to locate in the collection.

    Return Value

    The index of item if found in the list; otherwise, -1.
    See Also