2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / TrendLinesCollection Class / IndexOf Method
TrendLine to locate.

In This Topic
    IndexOf Method (TrendLinesCollection)
    In This Topic
    Gets the current index of the specified TrendLines in the collection.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal tl As TrendLine _
    ) As System.Integer
    public System.int IndexOf( 
       TrendLine tl
    )

    Parameters

    tl
    TrendLine to locate.

    Return Value

    Index.
    Remarks
    Returns an integer indicating the element of the specified TrendLine within the collection. If the TrendLine is not found the return value is –1.
    See Also