## BaseDictionary::idx_set method


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

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


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

## 另见

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