## BaseDictionary::operator[] method


访问器函数。

```cpp
virtual mapped_t & System::Collections::Generic::BaseDictionary<Map>::operator[](const key_t &key)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| key | const key_t\& | 用于访问的 [Dictionary](../../dictionary/) 键。 |

### ReturnValue

对已存在（或新创建）的由 **key** 键索引的值的引用。

## 另见

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