PropertyDescriptorCollection::IDictionary::Add Method (Object^, Object^)
.NET Framework (current version)
Adds an element with the provided key and value to the IDictionary.
Assembly: System (in System.dll)
Parameters
- key
-
Type:
System::Object^
The Object to use as the key of the element to add.
- value
-
Type:
System::Object^
The Object to use as the value of the element to add.
Implements
IDictionary::Add(Object^, Object^)| Exception | Condition |
|---|---|
| NotSupportedException | The collection is read-only. |
| ArgumentException | value is null. |
.NET Framework
Available since 1.1
Available since 1.1
Show: