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:
property TValue default[
	TKey key
] {
	virtual TValue get(TKey key) sealed;
}

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: