Determines whether the Dictionary contains a specified item by using the default equality comparer.

Namespace: System.Extensions.Collections.ObjectModel
Assembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)

Syntax

C#
public bool Contains(
	KeyValuePair<TKey, TValue> item
)
Visual Basic
Public Function Contains ( 
	item As KeyValuePair(Of TKey, TValue)
) As Boolean
Visual C++
public:
virtual bool Contains(
	KeyValuePair<TKey, TValue> item
) sealed
F#
abstract Contains : 
        item : KeyValuePair<'TKey, 'TValue> -> bool 
override Contains : 
        item : KeyValuePair<'TKey, 'TValue> -> bool 

Parameters

item
Type: System.Collections.Generic..::..KeyValuePair<(Of <(<'TKey, TValue>)>)>
The item to look for.

Return Value

Type: Boolean
True if found, false otherwise.

Implements

ICollection<(Of <(<'T>)>)>..::..Contains(T)

See Also