PointCollection::IndexOf Method (Point)

 

Determines the index of the specified item in the PointCollection.

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

public:
virtual int IndexOf(
	Point value
) sealed

Parameters

value
Type: System.Windows::Point

The Point to locate in the PointCollection.

Return Value

Type: System::Int32

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

.NET Framework
Available since 3.0
Return to top
Show: