Share via


IReadOnlyDictionary<TKey, TValue> Members

Include Protected Members
Include Inherited Members

Defines methods and properties that handle read-only dictionary collections.

The IReadOnlyDictionary<TKey, TValue> type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of items in the collection. (Inherited from IReadOnlyCollection<T>.)
Public property Item[Int32] Gets the item at a specified index. (Inherited from IReadOnlyCollection<T>.)
Public property Item[TKey] Gets the item that exists at a specified key.
Public property Keys Gets the collection of keys in the dictionary.
Public property Values Gets the collection of values in the dictionary.

Top

Methods

  Name Description
Public method Contains Determines whether the collection contains a specific item. (Inherited from IReadOnlyCollection<T>.)
Public method ContainsKey Determines whether the dictionary contains a specific key.
Public method CopyTo Copies the items of the collection to an array starting at a specified index. (Inherited from IReadOnlyCollection<T>.)
Public method GetEnumerator() (Inherited from IEnumerable<KeyValuePair<TKey, TValue>>.)
Public method GetEnumerator() (Inherited from IEnumerable.)
Public method TryGetValue Determines whether a specified value is stored at a specified key in the dictionary.

Top

See Also

Reference

IReadOnlyDictionary<TKey, TValue> Interface

Microsoft.BusinessData.Infrastructure.Collections Namespace