編輯

共用方式為


ImmutableDictionary<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 type of the key.

Property Value

TValue

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

Implements

Applies to