Spread Windows Forms 15.0
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / LightCollection Class / IndexOf Method
Light to locate in collection.


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

    Parameters

    item
    Light to locate in collection.

    Return Value

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