Spread WinForms 15
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / LineCollection Class / IndexOf Method
Line to locate in collection.


In This Topic
IndexOf Method (LineCollection)
In This Topic
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)

Parameters

item
Line to locate in collection.

Return Value

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