ImmutableSortedDictionary<TKey,TValue>.IDictionary<TKey,TValue>.Item[TKey] Egenskap

Definition

Hämtar eller anger TValue med den angivna nyckeln.

property TValue System::Collections::Generic::IDictionary<TKey,TValue>::Item[TKey] { TValue get(TKey key); void set(TKey key, TValue value); };
TValue System.Collections.Generic.IDictionary<TKey,TValue>.Item[TKey key] { get; set; }
member this.System.Collections.Generic.IDictionary<TKey,TValue>.Item('Key) : 'Value with get, set
 Property Item(key As TKey) As TValue Implements IDictionary(Of TKey, TValue).Item

Parametrar

key
TKey

Objektet som ska användas som nyckel för det element som ska kommas åt.

Egenskapsvärde

TValue

Ett objekt av typen TValue som är associerad med key.

Implementeringar

Gäller för