ImmutableDictionary<TKey,TValue>.IDictionary<TKey,TValue>.Item[TKey] Eigenschap

Definitie

Hiermee haalt u de sleutel op of stelt u deze TValue in met de opgegeven sleutel.

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

Parameters

key
TKey

Het type sleutel.

Waarde van eigenschap

TValue

Een object van het type TValue dat is gekoppeld aan de key.

Implementeringen

Van toepassing op