## IDictionary::Add method


Adds key-value pair into container.

```cpp
virtual void System::Collections::Generic::IDictionary<TKey, TValue>::Add(const TKey &key, const TValue &value)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| key | const TKey\& | Key to add. |
| value | const TValue\& | Value to add. |

## See Also

* Class [IDictionary](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
