ImmutableDictionary<TKey, TValue>.Item Property (TKey)

 

Gets the TValue associated with the specified key.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public TValue this[
	TKey key
] { get; }

Parameters

key
Type: TKey

The type of the key.

Property Value

Type: TValue

The value associated with the specified key. If no results are found, the operation throws an exception.

Return to top
Show: