-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.Interop.IBindableVector.IndexOf(System.Object,System.UInt32@) |
winrt method |
Returns the index of a specified item in the vector.
The item to find in the vector.
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.
true if the item is found; false if the item is not found.
When programming with .NET, this interface is hidden and developers should use the System.Collections.IList interface.