PointCollection.IndexOf(Point) Method

Definition

Determines the index of the specified item in the PointCollection.

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

Parameters

value
Point

The Point to locate in the PointCollection.

Returns

Int32

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

Implements

Applies to

See also