Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

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

Determines if this dictionary contains a key equal to key. The dictionary is not changed.

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

Syntax


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

Parameters

key
Type: TKey
The key to search for.

Return Value

True if the dictionary contains key. False if the dictionary does not contain key.

Remarks


Searching the dictionary for a key takes time O(log N), where N is the number of keys in the dictionary.