IReadOnlyDictionary<TKey, TValue>.Item 屬性 (TKey)
取得存在於指定索引鍵的項目。
命名空間: Microsoft.BusinessData.Infrastructure.Collections
組件: Microsoft.BusinessData (在 Microsoft.BusinessData.dll 中)
語法
'宣告
ReadOnly Property Item ( _
key As TKey _
) As TValue
Get
'用途
Dim instance As IReadOnlyDictionary
Dim key As TKey
Dim value As TValue
value = instance.Item(key)
TValue this[
TKey key
] { get; }
參數
key
類型:TKey指定索引鍵。
屬性值
類型:TValue
請參閱
參照
IReadOnlyDictionary<TKey, TValue> 介面