Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 968 Bytes

ibindablevector_indexof_1773064342.md

File metadata and controls

31 lines (22 loc) · 968 Bytes
-api-id -api-type
M:Microsoft.UI.Xaml.Interop.IBindableVector.IndexOf(System.Object,System.UInt32@)
winrt method

Microsoft.UI.Xaml.Interop.IBindableVector.IndexOf

-description

Returns the index of a specified item in the vector.

-parameters

-param value

The item to find in the vector.

-param index

The zero-based index of the item if found. 0 is returned if the item is not found, so be sure to check the return value.

-returns

true if the item is found; false if the item is not found.

-remarks

When programming with .NET, this interface is hidden and developers should use the System.Collections.IList interface.

-examples

-see-also

XAML data binding sample