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

key关联的 类型的TValue对象。

实现

适用于