System::Collections::Generic::DictionaryPtr 类
DictionaryPtr class
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.
template<typename T,typename V>class DictionaryPtr : public System::SmartPtr<T0>
| 参数 | 描述 |
|---|---|
| T | 密钥类型。 |
| V | 值类型。 |
方法
| 方法 | 描述 |
|---|---|
| DictionaryPtr() | 初始化空指针。 |
| DictionaryPtr(const SharedPtr<Dictionary<T, V>>&) | 转换指针类型。 |
| operator[](const X&) const | 访问运算符,用于键类型转换。 |
| operator[](const T&) const | 访问运算符。 |
另见
- Class SmartPtr
- Namespace System::Collections::Generic
- Library Aspose.Font for C++