FilteredObservableCollection<T>::Contains Method (T)

 

Determines whether the collection contains the specified item.

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

public:
virtual bool Contains(
	T item
) sealed

Parameters

item
Type: T

The item.

Return Value

Type: System::Boolean

true if the item is in the collection, otherwise false.

If the collection has a filter, this method queries the collection, otherwise it queries the underlying list.

Return to top
Show: