- 
        Couldn't load subscription status. 
- Fork 35
M_CodeJam_Threading_ConcurrentLazyDictionary_2_ContainsKey
        Andrew Koryavchenko edited this page Jul 4, 2017 
        ·
        5 revisions
      
    Determines whether the read-only dictionary contains an element that has the specified key.
Namespace: CodeJam.Threading
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)
C#
public bool ContainsKey(
	TKey key
)VB
Public Function ContainsKey ( 
	key As TKey
) As BooleanF#
abstract ContainsKey : 
        key : 'TKey -> bool 
override ContainsKey : 
        key : 'TKey -> bool 
- key
- Type: TKey
 The key to locate.
Type: Boolean
true if the read-only dictionary contains an element that has the specified key; otherwise, false.
IReadOnlyDictionary(TKey, TValue).ContainsKey(TKey)
| Exception | Condition | 
|---|---|
| ArgumentNullException | key is null. | 
ConcurrentLazyDictionary(TKey, TValue) Class
CodeJam.Threading Namespace