-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.DependencyObjectCollection.IndexOf(Microsoft.UI.Xaml.DependencyObject,System.UInt32@) |
winrt method |
Retrieves the index of the specified item.
The value to find in the collection.
The index of the item to find, if found.
true
if an item with the specified value was found; otherwise, false
.
Note
The equivalent Microsoft .NET API is IndexOf
, or Contains
if you want a Boolean return value that indicates that the value exists.