IList.IndexOf Method

PresentationFrameworkCollection<T>.IList.IndexOf Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines the index of a specific item in the PresentationFrameworkCollection<T>.

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

int IList.IndexOf(
	Object value
)

Parameters

value
Type: System.Object
The object to locate in the PresentationFrameworkCollection<T>.

Return Value

Type: System.Int32
The index of value if found in the list; otherwise, -1.

Implements

IList.IndexOf(Object)

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft