編輯

共用方式為


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

Definition

Gets or sets the TValue with the specified key.

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

The type of the key.

Property Value

TValue

An object of type TValue associated with the key.

Implements

Applies to