Windows apps
Collapse the table of content
Expand the table of content
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.

VectorCollection.IndexOf Method (Vector)


Determines the index of the specified item in the VectorCollection.

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

public int IndexOf(
	Vector value


Type: System.Windows.Vector

The Vector to locate in the VectorCollection.

Return Value

Type: System.Int32

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

.NET Framework
Available since 3.0
Return to top
© 2017 Microsoft