ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / C1CollectionView Class / IndexOf Method
The item to locate.

In This Topic
    IndexOf Method (C1CollectionView)
    In This Topic
    Returns the index at which the specified item is located in the view.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal item As System.Object _
    ) As System.Integer
    public System.int IndexOf( 
       System.object item
    )

    Parameters

    item
    The item to locate.

    Return Value

    The index at which the specified item is located, or –1 if the item is unknown.
    See Also