Determines whether the collection contains a specific key and value.

Namespace:  Mindscape.WpfElements.WpfPropertyGrid
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public bool Contains(
	KeyValuePair<TKey, TValue> item
)
Visual Basic (Declaration)
Public Function Contains ( _
	item As KeyValuePair(Of TKey, TValue) _
) As Boolean

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