DependencyObjectCollection<T>.IList.IndexOf Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the index of the specified object within the collection, or -1 if the object is not in the collection.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- value
- Type: System.Object
The object to locate in the collection.
Return Value
Type: System.Int32The index of the first occurrence of item within the collection, or -1 if item is not in the collection.
Implements
IList.IndexOf(Object)This member is an explicit interface member implementation. It can be used only when the DependencyObjectCollection<T> instance is cast to an IList interface.
Show: