Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

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

Determines whether a given key is found in the dictionary.

Namespace:  Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax


public virtual bool ContainsKey(
	TKey key
)
Public Overridable Function ContainsKey ( _
	key As TKey _
) As Boolean
public:
virtual bool^ ContainsKey(
	TKey key
)

Parameters

key
Type: TKey
Key to look for in the dictionary.

Return Value

True if the key is present in the dictionary.

Remarks


The default implementation simply calls TryEnumerateValuesForKey. It may be appropriate to override this method to provide a more efficient implementation.