Bewerken

Delen via


FrozenDictionary<TKey,TValue>.IReadOnlyDictionary<TKey,TValue>.Item[TKey] Property

Definition

Gets the element that has the specified key in the read-only dictionary.

property TValue System::Collections::Generic::IReadOnlyDictionary<TKey,TValue>::Item[TKey] { TValue get(TKey key); };
TValue System.Collections.Generic.IReadOnlyDictionary<TKey,TValue>.Item[TKey key] { get; }
member this.System.Collections.Generic.IReadOnlyDictionary<TKey,TValue>.Item('Key) : 'Value
 ReadOnly Property Item(key As TKey) As TValue Implements IReadOnlyDictionary(Of TKey, TValue).Item

Parameters

key
TKey

The key to locate.

Property Value

TValue

The element that has the specified key in the read-only dictionary.

Implements

Applies to