Click or drag to resize

IReadOnlyDictionaryTKey, TValue Interface

Represents a generic read-only collection of key/value pairs.

Namespace:  EBP.Api.Misc
Assembly:  EBP.Api (in EBP.Api.dll) Version: 1.0.2835.45 (1.0.2835.45)
Syntax
public interface IReadOnlyDictionary<TKey, TValue> : IReadOnlyCollection<KeyValuePair<TKey, TValue>>, 
	IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable

Type Parameters

TKey
The type of keys in the read-only dictionary.
TValue
The type of values in the read-only dictionary.

The IReadOnlyDictionaryTKey, TValue type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements in the collection.
(Inherited from IReadOnlyCollectionT.)
Public propertyItem
Gets the element that has the specified key in the read-only dictionary.
Public propertyKeys
Gets an enumerable collection that contains the keys in the read-only dictionary.
Public propertyValues
Gets an enumerable collection that contains the values in the read-only dictionary.
Top
Methods
  NameDescription
Public methodContainsKey
Determines whether the read-only dictionary contains an element that has the specified key.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableKeyValuePairTKey, TValue.)
Public methodTryGetValue
Gets the value that is associated with the specified key.
Top
See Also