ListDictionary Members
.NET Framework 2.0
Implements IDictionary using a singly linked list. Recommended for collections that typically contain 10 items or less.
The following tables list the members exposed by the ListDictionary type.
| Name | Description | |
|---|---|---|
| ListDictionary | Overloaded. Initializes a new instance of the ListDictionary class. |
| Name | Description | |
|---|---|---|
| Count | Gets the number of key/value pairs contained in the ListDictionary. |
| IsFixedSize | Gets a value indicating whether the ListDictionary has a fixed size. |
| IsReadOnly | Gets a value indicating whether the ListDictionary is read-only. |
| IsSynchronized | Gets a value indicating whether the ListDictionary is synchronized (thread safe). |
| Item | Gets or sets the value associated with the specified key. |
| Keys | Gets an ICollection containing the keys in the ListDictionary. |
| SyncRoot | Gets an object that can be used to synchronize access to the ListDictionary. |
| Values | Gets an ICollection containing the values in the ListDictionary. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Add | Adds an entry with the specified key and value into the ListDictionary. |
| Clear | Removes all entries from the ListDictionary. |
| Contains | Determines whether the ListDictionary contains a specific key. |
| CopyTo | Copies the ListDictionary entries to a one-dimensional Array instance at the specified index. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetEnumerator | Returns an IDictionaryEnumerator that iterates through the ListDictionary. |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| Remove | Removes the entry with the specified key from the ListDictionary. |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| System.Collections.IEnumerable.GetEnumerator | Returns an IEnumerator that iterates through the ListDictionary. |