Spread Windows Forms 17
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / LegendAreaCollection Class / IndexOf Method
Legend area to locate in collection.


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

    Parameters

    item
    Legend area to locate in collection.

    Return Value

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