This documentation is archived and is not being maintained.

ReadOnlyDictionary<TKey, TValue>::ICollection<KeyValuePair<TKey, TValue>>::Contains Method

Checks whether the specified item is located in this dictionary.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

private:
virtual bool Contains(
	KeyValuePair<TKey, TValue> item
) sealed = ICollection<KeyValuePair<TKey, TValue>>::Contains

Parameters

item
Type: System.Collections.Generic::KeyValuePair<TKey, TValue>

The item to search for.

Return Value

Type: System::Boolean
True if the specified item is located in this dictionary; otherwise, false.

Implements

ICollection<T>::Contains(T)

Show: