Determines whether the Collection contains a specific value.

Namespace: MonoSoftware.Core.Collections
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public virtual bool Contains(
	KeyValuePair<TKey, TValue> item
)
Visual Basic
Public Overridable Function Contains ( 
	item As KeyValuePair(Of TKey, TValue)
) As Boolean
Visual C++
public:
virtual bool Contains(
	KeyValuePair<TKey, TValue> item
)
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 object to locate in the Collection.

Return Value

Type: Boolean
true if item is found in the Collection; otherwise, false.

Implements

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

See Also