Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PointCollection.IndexOf Method (Point)

 

Determines the index of the specified item in the PointCollection.

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

public int IndexOf(
	Point value
)

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:
© 2017 Microsoft