Skip to content

P_CodeJam_Threading_ExecSyncConcurrentLazyDictionary_2_Item

Andrew Koryavchenko edited this page Jun 17, 2018 · 3 revisions

ExecSyncConcurrentLazyDictionary(TKey, TValue).Item Property

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

Syntax

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

Parameters

 

key
Type: TKey
The key to locate.

Return Value

Type: TValue
The element that has the specified key in the read-only dictionary.

Implements

IReadOnlyDictionary(TKey, TValue).Item(TKey)

Exceptions

 

Exception Condition
ArgumentNullException key is null.
KeyNotFoundException The property is retrieved and key is not found.

See Also

Reference

ExecSyncConcurrentLazyDictionary(TKey, TValue) Class
CodeJam.Threading Namespace

Clone this wiki locally