Determines whether the collection contains a specific key and value.

Namespace: Mindscape.SilverlightElements
Assembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)

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

Parameters

item
Type: System.Collections.Generic..::..KeyValuePair<(Of <(<'TKey, TValue>)>)>
The key-value pair to locate in the collection.

Return Value

true if the key-value pair is found in the collection; otherwise false.

Implements

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

See Also