DoubleCollection::IndexOf Method (Double)

 

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

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public:
virtual int IndexOf(
	double value
) sealed

Parameters

value
Type: System::Double

The Double to locate in the DoubleCollection.

Return Value

Type: System::Int32

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

.NET Framework
Available since 3.0
Return to top
Show: