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访问运算符。

另见