共用方式為


IReadOnlyDictionary<TKey, TValue> 介面

定義方法和處理唯讀字典集合的內容。

命名空間:  Microsoft.BusinessData.Infrastructure.Collections
組件:  Microsoft.BusinessData (在 Microsoft.BusinessData.dll 中)

語法

'宣告
Public Interface IReadOnlyDictionary(Of TKey, TValue) _
    Inherits IReadOnlyCollection(Of KeyValuePair(Of TKey, TValue)),  _
    IEnumerable
'用途
Dim instance As IReadOnlyDictionary(Of TKey, TValue)
public interface IReadOnlyDictionary<TKey, TValue> : IReadOnlyCollection<KeyValuePair<TKey, TValue>>, 
    IEnumerable

參數類型

  • TKey
    字典項目索引鍵。
  • TValue
    在字典項目的值。

請參閱

參照

IReadOnlyDictionary<TKey, TValue> 成員

Microsoft.BusinessData.Infrastructure.Collections 命名空間