extends System.Collections.ICollection
extends System.Collections.IEnumerable
| Variables: |
|---|
public System.Boolean IsFixedSize |
public System.Boolean IsReadOnly |
public System.Object Item |
public System.Collections.ICollection Keys |
public System.Collections.ICollection Values |
| Constructors: |
|---|
| Functions: |
|---|
public System.Void Add(System.Object key, System.Object value) Adds an entry with the provided key and value to the current instance. Parameter key: The System.Object to use as the key of the entry to add. Parameter value: The System.Object to use as the value of the entry to add. Throws: : key is null. Throws: : An entry with the same key already exists in the current instance. Throws: : The current instance is read-only or has a fixed size. If the specified key already exists in the current instance, this method throws a System.ArgumentException exception but does not modify the associated value. As described above. |
public System.Void Clear() Removes all key and value pairs from the current instance. Throws: : The System.Collections.IDictionary is read-only. As described above. |
public System.Boolean Contains(System.Object key) Determines whether the current instance contains an entry with the specified key. Parameter key: The key to locate in the System.Collections.IDictionary. Returns: true if the System.Collections.IDictionary contains an entry with the key; otherwise, false. Throws: : key is null. As described above. |
public System.Collections.IDictionaryEnumerator GetEnumerator() Returns a System.Collections.IDictionaryEnumerator for the current instance. Returns: A System.Collections.IDictionaryEnumerator for the current instance. If the current instance is modified while an enumeration is in progress, a call to System.Collections.IEnumerator.MoveNext or System.Collections.IEnumerator.Reset will throw System.InvalidOperationException . For detailed information regarding the use of an enumerator, see System.Collections.IEnumerator. As described above. |
public System.Void Remove(System.Object key) Removes the entry with the specified key from the current instance. Parameter key: The key of the entry to remove. Throws: : key is null. Throws: : The current instance is read-only or has a fixed size. If key is not found in the current instance, no exception is thrown and the current instance remains unchanged. |
| Functions inherited from System.Collections.ICollection: |
|---|
public System.Void CopyTo(System.Array array, System.Int32 index) Copies the elements from the current instance to the specified System.Array, starting at the specified index in the array. Parameter array: A one-dimensional, zero-based System.Array that is the destination of the elements copied from the current instance. Parameter index: A System.Int32 that specifies the zero-based index in array at which copying begins. Throws: : array is null. Throws: : index < 0. Throws: : array has more than one dimension. index is greater than or equal to array.Length. The sum of index and the System.Collections.ICollection.Count of the current instance is greater than array.Length. Throws: : At least one element in the current instance is not assignment-compatible with the type of array. As described above. Use this method to copy from a collection to a System.Array. |
| Functions inherited from System.Collections.IEnumerable: |
|---|
public System.Collections.IEnumerator GetEnumerator() Returns a System.Collections.IEnumerator that can be used for simple iteration over a collection. Returns: A System.Collections.IEnumerator that can be used for simple iteration over a collection. As described above. For a detailed description regarding the use of an enumerator, see System.Collections.IEnumerator. |
| Functions inherited from System.Collections.IEnumerable: |
|---|
public System.Collections.IEnumerator GetEnumerator() Returns a System.Collections.IEnumerator that can be used for simple iteration over a collection. Returns: A System.Collections.IEnumerator that can be used for simple iteration over a collection. As described above. For a detailed description regarding the use of an enumerator, see System.Collections.IEnumerator. |