PatternDictionary<TKey,TValue>.Item[] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| 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