-
Notifications
You must be signed in to change notification settings - Fork 36
P_CodeJam_Threading_ConcurrentLazyDictionary_2_Item
Andrew Koryavchenko edited this page Jul 4, 2017
·
5 revisions
Gets the element that has the specified key in the read-only dictionary.
Namespace: CodeJam.Threading
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)
C#
public TValue this[
TKey key
] { get; }
VB
Public ReadOnly Default Property Item (
key As TKey
) As TValue
Get
F#
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