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

In This Topic
    IndexOf Method (MapSlicesCollection)
    In This Topic
    Gets the index of the element.
    Syntax
    'Declaration
     
    
    Public Function IndexOf( _
       ByVal item As MapSlice _
    ) As Integer
    public int IndexOf( 
       MapSlice 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