Map for WinForms | ComponentOne
C1.Win.Map Namespace / VectorItemsCollection Class / IndexOf Method
The element.

In This Topic
    IndexOf Method (VectorItemsCollection)
    In This Topic
    Gets the index of the element.
    Syntax
    'Declaration
     
    
    Public Function IndexOf( _
       ByVal item As VectorItem _
    ) As Integer
    public int IndexOf( 
       VectorItem item
    )

    Parameters

    item
    The element.

    Return Value

    The zero-based index of element or -1 if element does not exist in the collection.
    See Also