## BaseDictionary::operator[] method


Accessor function.

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


| Parameter | Type | Description |
| --- | --- | --- |
| key | const key_t\& | [Dictionary](../../dictionary/) key to access. |

### ReturnValue

Reference to existing (or created) value keyed by **key**.

## See Also

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