Determines whether the Dictionary contains a specified item by using the default equality comparer.
Namespace: System.Extensions.Collections.ObjectModelAssembly: 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 |
Return Value
Type:
BooleanTrue if found,
false otherwise.
Implements
ICollection<(Of <(<'T>)>)>..::..Contains(T)
See Also