Returns the index of the first occurrence of a value in the collection.
'Declaration
Public Function IndexOf( _
ByVal As DataPoint _
) As System.Integer
public System.int IndexOf(
DataPoint
)
Parameters
- value
The data point to locate in the collection.
Return Value
The index of the first occurrence of the value within the entire array, if found; otherwise, the lower bound of the array - 1.