Spread Windows Forms 11.0 Product Documentation
IndexOf Method (LineCollection)


FarPoint.Win.Chart Assembly > FarPoint.Win.Chart Namespace > LineCollection Class : IndexOf Method
Line to locate in collection.
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

Reference

LineCollection Class
LineCollection Members