Determines whether the IDictionary<(Of <(<'TKey, TValue>)>)> contains an element with the specified key.
            
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
| C# | 
|---|
public bool ContainsKey( string key )  | 
| Visual Basic | 
|---|
Public Function ContainsKey ( key As String ) As Boolean  | 
Parameters
- key
 - Type: System..::..String
The key to locate in the IDictionary<(Of <(<'TKey, TValue>)>)>. 
Return Value
Type: Booleantrue if the IDictionary<(Of <(<'TKey, TValue>)>)> contains an element with the key; otherwise, false.
Implements
IDictionary<(Of <(<'TKey, TValue>)>)>..::..ContainsKey(TKey)
Exceptions
| Exception | Condition | 
|---|---|
| System..::..ArgumentNullException | key is null. |