Edit

Share via


ImmutableSortedDictionary<TKey,TValue>.Item[TKey] Property

Definition

Gets the TValue associated with the specified key.

public:
 property TValue default[TKey] { TValue get(TKey key); };
public TValue this[TKey key] { get; }
member this.Item('Key) : 'Value
Default Public ReadOnly Property Item(key As TKey) As TValue

Parameters

key
TKey

The key to retrieve the value for.

Property Value

TValue

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

Implements

Applies to