ListDictionary Members
Public Constructors
ListDictionary Constructor Supported by the .NET Compact Framework. | Overloaded. Initializes a new instance of the ListDictionary class. |
Public Properties
Count Supported by the .NET Compact Framework. | Gets the number of key-and-value pairs contained in the ListDictionary. |
IsFixedSize Supported by the .NET Compact Framework. | Gets a value indicating whether the ListDictionary has a fixed size. |
IsReadOnly Supported by the .NET Compact Framework. | Gets a value indicating whether the ListDictionary is read-only. |
IsSynchronized Supported by the .NET Compact Framework. | Gets a value indicating whether the ListDictionary is synchronized (thread-safe). |
Item | Gets or sets the value associated with the specified key.
In C#, this property is the indexer for the ListDictionary class. |
Keys Supported by the .NET Compact Framework. | Gets an ICollection containing the keys in the ListDictionary. |
SyncRoot Supported by the .NET Compact Framework. | Gets an object that can be used to synchronize access to the ListDictionary. |
Values Supported by the .NET Compact Framework. | Gets an ICollection containing the values in the ListDictionary. |
Public Methods
Add Supported by the .NET Compact Framework. | Adds an entry with the specified key and value into the ListDictionary. |
Clear Supported by the .NET Compact Framework. | Removes all entries from the ListDictionary. |
Contains Supported by the .NET Compact Framework. | Determines whether the ListDictionary contains a specific key. |
CopyTo Supported by the .NET Compact Framework. | Copies the ListDictionary entries to a one-dimensional Array instance at the specified index. |
Equals (inherited from Object)
Supported by the .NET Compact Framework. | Overloaded. Determines whether two Object instances are equal. |
GetEnumerator Supported by the .NET Compact Framework. | Returns an IDictionaryEnumerator that can iterate through the ListDictionary. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
Remove Supported by the .NET Compact Framework. | Removes the entry with the specified key from the ListDictionary. |
ToString (inherited from Object)
Supported by the .NET Compact Framework. | Returns a String that represents the current Object. |
Protected Methods
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
Explicit Interface Implementations
| IEnumerable.GetEnumerator | Returns an IEnumerator that can iterate through the ListDictionary. |
See Also
ListDictionary Class | System.Collections.Specialized Namespace
