Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 780 Bytes

dependencyobjectcollection_indexof_1026387520.md

File metadata and controls

37 lines (22 loc) · 780 Bytes
-api-id -api-type
M:Microsoft.UI.Xaml.DependencyObjectCollection.IndexOf(Microsoft.UI.Xaml.DependencyObject,System.UInt32@)
winrt method

Microsoft.UI.Xaml.DependencyObjectCollection.IndexOf

-description

Retrieves the index of the specified item.

-parameters

-param value

The value to find in the collection.

-param index

The index of the item to find, if found.

-returns

true if an item with the specified value was found; otherwise, false.

-remarks

Note

The equivalent Microsoft .NET API is IndexOf, or Contains if you want a Boolean return value that indicates that the value exists.

-examples

-see-also