## BaseDictionary::Add method


向字典中添加键值对。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 键 | const key_t\& | 用于插入值的键。 |
| 值 | const mapped_t\& | 要插入的值。 |

## 另见

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