ContainsKey Method
From Wintellect PowerCollections
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Checks to see if the key is present in the dictionary and has
at least one value associated with it.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
| C# |
|---|
public bool ContainsKey( TKey key ) |
| Visual Basic (Declaration) |
|---|
Public Function ContainsKey ( _ key As TKey _ ) As Boolean |
| Visual C++ |
|---|
public: virtual bool ContainsKey ( TKey key ) sealed |
Parameters
- key
- TKey
The key to check.
Return Value
True if key is present and has at least one value associated with it. Returns false otherwise.
See Also
Wintellect.PowerCollections Namespace