PatternDictionary<TKey,TValue>.Item[] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| Item[Int32] | |
| Item[TKey] |
Item[Int32]
public TValue this[int index] { get; set; }
member this.Item(int) : 'Value with get, set
Default Public Property Item(index As Integer) As TValue
參數
- index
- Int32
屬性值
TValue
實作
適用於
Item[TKey]
public TValue this[TKey key] { get; }
member this.Item('Key) : 'Value
Default Public ReadOnly Property Item(key As TKey) As TValue
參數
- key
- TKey
屬性值
TValue