Class NonGenericDictionary
Represents a non generic dictionary.
[ComVisible(false)]
public class NonGenericDictionary : IDictionary, ICollection, IEnumerable
- Inheritance
-
NonGenericDictionary
- Implements
- Derived
- Inherited Members
Constructors
- NonGenericDictionary(IDictionary)
Initializes a new instance of the NonGenericDictionary class.
Fields
- Dictionary
The actual dictionary used.
Properties
- Count
Gets the number of elements contained in the ICollection.
- 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.
- IsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
- this[object]
Gets or sets the element with the specified key.
- Keys
Gets an ICollection object containing the keys of the IDictionary object.
- SyncRoot
Gets an object that can be used to synchronize access to the ICollection.
- Values
Gets an ICollection object containing the values in the IDictionary object.
Methods
- Add(object, object)
Adds an element with the provided key and value to the IDictionary object.
- Clear()
Removes all elements from the IDictionary object.
- Contains(object)
Determines whether the IDictionary object contains an element with the specified key.
- CopyTo(Array, int)
Copies the elements of the ICollection to an Array, starting at a particular Array index.
- GetEnumerator()
Gets the enumerator.
- Remove(object)
Removes the element with the specified key from the IDictionary object.