AdvisableDictionary<TKey, TValue>.ContainsKey Method |
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.9.1.0 (6.9.1.0)
public bool ContainsKey( TKey key )
Parameters
- key
- Type: TKey
The key to locate in the IDictionary<TKey, TValue>.
Return Value
Type: Booleantrue if the IDictionary<TKey, TValue> contains an element with the key; otherwise, false.
Implements
IDictionary<TKey, TValue>.ContainsKey(TKey)Exception | Condition |
---|---|
ArgumentNullException | key is null. |