## BaseDictionary::operator[] method


访问器函数。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| key | const key_t\& | [Dictionary](../../dictionary/) 键用于访问。 |

### ReturnValue

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

## 另见

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