FrozenDictionary<TKey,TValue>.Item[TKey] Proprietà

Definizione

Ottiene un riferimento al valore associato alla chiave specificata.

public:
 property TValue& ^ default[TKey] { TValue& ^ get(TKey key); };
public ref readonly TValue this[TKey key] { get; }
member this.Item('Key) : 'Value
Default Public ReadOnly Property Item(key As TKey) As TValue

Parametri

key
TKey

Chiave del valore da ottenere.

Valore della proprietà

TValue

Riferimento al valore associato alla chiave specificata.

Eccezioni

key non esiste nella raccolta.

Si applica a