ImmutableDictionary<TKey,TValue>.IDictionary<TKey,TValue>.Item[TKey] 屬性

定義

取得或設定具有指定索引鍵的 TValue

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

參數

key
TKey

索引鍵的類型。

屬性值

TValue

與相關聯的keyTValue別物件。

實作

適用於