共用方式為


ReadOnlyDictionary45<TKey,TValue>.Item[TKey] Property

Definition

Enables accessing values by indexing with a key

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

Parameters

key
TKey

The desired key

Property Value

TValue

The corresponding value

Applies to