Spread for ASP.NET 13 Product Documentation
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Chart Namespace / SpreadChartCollection Class / IndexOf Method
The SpreadChart to locate in the SpreadChartCollection.


In This Topic
    IndexOf Method (SpreadChartCollection)
    In This Topic
    Determines the index of a specific chart in the SpreadChartCollection.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal chart As SpreadChart _
    ) As Integer
    'Usage
     
    Dim instance As SpreadChartCollection
    Dim chart As SpreadChart
    Dim value As Integer
     
    value = instance.IndexOf(chart)
    public int IndexOf( 
       SpreadChart chart
    )

    Parameters

    chart
    The SpreadChart to locate in the SpreadChartCollection.

    Return Value

    The index of value if found in the list; otherwise, -1.
    See Also