See Also: IDictionary<TKey,TValue> Members
- TKey
- Documentation for this section has not yet been entered.
- TValue
- Documentation for this section has not yet been entered.
This interface class is the base interface for generic collections of key/value pairs. The implementing class must have a method for comparing keys.
Each element is a key/value pair stored in a key value pair object.
Each pair must have a non-null key unique according to the comparison method of the class implementing this interface. The value can be null and need not be unique. The IDictionary<TKey, TValue> interface allows the contained keys and values to be enumerated, but it does not imply any particular sort order.
Some implementations of this interface might permit null keys, and some might not. A dictionary implementation that prohibits null keys shall throw ArgumentNullException whenever a method or indexer is called with a null key.
Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0