FilteredObservableCollection<T>::IndexOf Method (T)

 

Gets the location of the specified item.

Namespace:   Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

public:
virtual int IndexOf(
	T item
) sealed

Parameters

item
Type: T

The item.

Return Value

Type: System::Int32

The location of the specified item.

If the collection has a filter, this method returns the location of the item in the filtered list, otherwise returns the location of the item in the underlying list.

Return to top
Show: