Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.24 KB

ibindablevectorview_indexof_1773064342.md

File metadata and controls

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

Microsoft.UI.Xaml.Interop.IBindableVectorView.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

This interface supports the creation of data bindable collections in C++. When programming with .NET, you should use ObservableCollection(Of T) or implement IList and INotifyCollectionChanged.

-examples

-see-also

XAML data binding sample