Share via


ItemsSourceView.IndexOf(Object) Method

Definition

Retrieves the index of the specified item.

public:
 virtual int IndexOf(Platform::Object ^ item) = IndexOf;
int IndexOf(IInspectable const& item);
public int IndexOf(object item);
function indexOf(item)
Public Function IndexOf (item As Object) As Integer

Parameters

item
Object

Platform::Object

IInspectable

The object to find in the collection.

Returns

Int32

int

The index of the item to find, if found.

Applies to