Share via


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

Definisi

Mendapatkan atau mengatur TValue dengan kunci yang ditentukan.

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

Parameter

key
TKey

Jenis kunci.

Nilai Properti

TValue

Objek jenis TValue yang terkait dengan key.

Penerapan

Berlaku untuk