IDictionary Members
.NET Framework 2.0
Represents a nongeneric collection of key/value pairs.
The following tables list the members exposed by the IDictionary type.
| Name | Description | |
|---|---|---|
| IsFixedSize | Gets a value indicating whether the IDictionary object has a fixed size. |
| IsReadOnly | Gets a value indicating whether the IDictionary object is read-only. |
| Item | Gets or sets the element with the specified key. |
| Keys | Gets an ICollection object containing the keys of the IDictionary object. |
| Values | Gets an ICollection object containing the values in the IDictionary object. |
| Name | Description | |
|---|---|---|
| Add | Adds an element with the provided key and value to the IDictionary object. |
| Clear | Removes all elements from the IDictionary object. |
| Contains | Determines whether the IDictionary object contains an element with the specified key. |
| GetEnumerator | Returns an IDictionaryEnumerator object for the IDictionary object. |
| Remove | Removes the element with the specified key from the IDictionary object. |