DoubleCollection.IndexOf(Double) Method

Definition

Gets the index of the first occurrence of the specified Double.

public:
 virtual int IndexOf(double value);
public int IndexOf (double value);
abstract member IndexOf : double -> int
override this.IndexOf : double -> int
Public Function IndexOf (value As Double) As Integer

Parameters

value
Double

The Double to locate in the DoubleCollection.

Returns

The index of value if found in the DoubleCollection; otherwise, -1.

Implements

Applies to

See also