DependencyObjectCollection.IndexOf(DependencyObject, UInt32) Method
Definition
Retrieves the index of the specified item.
bool IndexOf(DependencyObject const & value, [Out] uint32_t & index);
public bool IndexOf(DependencyObject value, out uint index);
Public Function IndexOf (value As DependencyObject, ByRef index As UInteger) As Boolean
Parameters
- value
- DependencyObject
The value to find in the collection.
- index
- UInt32
The index of the item to find, if found.
Returns
true if an item with the specified value was found; otherwise, false.
Implements
Windows.Foundation.Collections.IVector`1.IndexOf(`0,System.UInt32@)
Remarks
Note
The equivalent Microsoft .NET API is IndexOf, or Contains if you want a Boolean return value that indicates that the value exists.