Represents a collection of associated keys and values.
[Visual Basic] Public Interface IDictionary Implements ICollection, IEnumerable [C#] public interface IDictionary : ICollection, IEnumerable [C++] public __gc __interface IDictionary : public ICollection, IEnumerable
[JScript] In JScript, you can use the interfaces in the NGWS frameworks, but you cannot define your own.
Class | Description |
---|---|
Dictionary | Represents a collection of associated keys and values. |
Hashtable | Represents a collection of associated keys and values that are organized based on the hash code of the key. |
Configuration.HttpConfigurationRecord | [To be supplied.] |
SortedList | Represents a collection of associated keys and values, which are sorted by the keys and are accessible both by key and by index. |
The IDictionary class is an abstract base class for collections of associated keys and values.
Each association must have a unique non-null key, but the value of an association can be any object reference, including a null reference. The IDictionary interface allows the contained keys and values to be enumerated, but it does not imply any particular sort order.
Namespace: System.Collections
Assembly: mscorlib.dll
IDictionary Members | System.Collections Namespace | Dictionary