System::Collections::Generic::DictionaryPtr::operator[] 方法
DictionaryPtr::operator[](const T&) const method
访问运算符。
V & System::Collections::Generic::DictionaryPtr<T, V>::operator[](const T &key) const
| 参数 | 类型 | 描述 |
|---|---|---|
| key | const T& | Dictionary 键。 |
ReturnValue
对应传入键的值的引用,可能已存在或新创建。
另见
- Class DictionaryPtr
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
DictionaryPtr::operator[](const X&) const method
访问运算符,用于键类型转换。
template<class X> V & System::Collections::Generic::DictionaryPtr<T, V>::operator[](const X &key) const
| 参数 | 描述 |
|---|---|
| X | 源键类型。 |
| 参数 | 类型 | 描述 |
|---|---|---|
| key | const X& | Dictionary 键。 |
ReturnValue
对应传入键的值的引用,可能已存在或新创建。
另见
- Class DictionaryPtr
- Namespace System::Collections::Generic
- Library Aspose.Font for C++