DataCollection | ComponentOne
C1.UWP.DataCollection Assembly / C1.UWP.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
    'Declaration
     
    Public Function IndexOf( _
       ByVal item As Object _
    ) As Integer
    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