## DictionaryPtr class


[Dictionary](../dictionary/) pointer class with operator overloads. This type is a pointer to manage other object's deletion. It should be allocated on stack and passed to functions either by value or by const reference.

```cpp
template<typename T,typename V>class DictionaryPtr : public System::SmartPtr<Dictionary<T, V>>
```


| Parameter | 描述 |
| --- | --- |
| T | 密钥类型。 |
| V | 值类型。 |
## 方法

| 方法 | 描述 |
| --- | --- |
| [DictionaryPtr](./dictionaryptr/)() | 初始化空指针。 |
| [DictionaryPtr](./dictionaryptr/)(const SharedPtr\<Dictionary\<T, V\>\>\&) | 转换指针类型。 |
| [operator[]](./operator[]/)(const X\&) const | 访问运算符，用于处理键类型转换。 |
| [operator[]](./operator[]/)(const T\&) const | 访问运算符。 |

## 另见

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