- 
                Notifications
    
You must be signed in to change notification settings  - Fork 35
 
M_CodeJam_Threading_ConcurrentLazyDictionary_2_ContainsKey
        Andrew Koryavchenko edited this page Jun 17, 2018 
        ·
        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: 2.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