Adds an entry with the specified key and value into the current instance.
- key
- The key of the entry to add.
- value
- The value of the entry to add.
Type Reason ArgumentNullException key is null. ArgumentException An entry with the same key already exists in the current instance. NotSupportedException The current instance is read-only or has a fixed size.
Documentation for this section has not yet been entered.
Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0