Spread ASP.NET 14
FarPoint.Web.Chart Assembly / FarPoint.Web.Chart Namespace / LineCollection Class / IndexOf Method
Line to locate in collection.


In This Topic
    IndexOf Method (LineCollection)
    In This Topic
    Determines the index of the line in the collection.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal item As Line _
    ) As Integer
    'Usage
     
    Dim instance As LineCollection
    Dim item As Line
    Dim value As Integer
     
    value = instance.IndexOf(item)
    public int IndexOf( 
       Line item
    )

    Parameters

    item
    Line to locate in collection.

    Return Value

    Index of the line if line is found in the collection; otherwise, -1.
    See Also