## BaseDictionary::Add method


向字典中添加键值对。

```cpp
void System::Collections::Generic::BaseDictionary<Map>::Add(const key_t &key, const mapped_t &value) override
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 键 | const key_t\& | 要插入值的键。 |
| value | const mapped_t\& | 要插入的值。 |

## 另见

* Class [BaseDictionary](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
