Determines whether the collection contains an element with the specified key.

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

Syntax

C#
public bool ContainsKey(
	TKey key
)
Visual Basic
Public Function ContainsKey ( _
	key As TKey _
) As Boolean
Visual C++
public:
virtual bool ContainsKey(
	TKey key
) sealed

Parameters

key
Type: TKey
The key to locate.

Return Value

true if the collection contains an element with the key; otherwise false.

Implements

IDictionary<(Of <(<'TKey, TValue>)>)>..::..ContainsKey(TKey)

See Also