- 
                Notifications
    You must be signed in to change notification settings 
- Fork 35
P_CodeJam_Threading_ConcurrentLazyDictionary_2_Item
        Andrew Koryavchenko edited this page Jun 17, 2018 
        ·
        5 revisions
      
    Gets the element that has the specified key in the read-only dictionary.
Namespace: CodeJam.Threading
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public TValue this[
	TKey key
] { get; }VB
Public ReadOnly Default Property Item ( 
	key As TKey
) As TValue
	GetF#
abstract Item : 'TValue with get
override Item : 'TValue with get
- key
- Type: TKey
 The key to locate.
Type: TValue
The element that has the specified key in the read-only dictionary.
IReadOnlyDictionary(TKey, TValue).Item(TKey)
| Exception | Condition | 
|---|---|
| ArgumentNullException | key is null. | 
| KeyNotFoundException | The property is retrieved and key is not found. | 
ConcurrentLazyDictionary(TKey, TValue) Class
CodeJam.Threading Namespace