## BaseDictionary::idx_set method


带键的设置函数。修改或创建元素。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 键 | const key_t\& | 要设置值的键。 |
| 值 | mapped_t | 要设置的值。 |

## 另见

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