operator[]()
DictionaryPtr::operator[](const X&) const method
Access operator to work with key type conversion.
template<class X> V & System::Collections::Generic::DictionaryPtr<T, V>::operator[](const X &key) const
Template parameters
| Parameter | Description |
|---|---|
| X | Source key type. |
Arguments
| Parameter | Type | Description |
|---|---|---|
| key | const X& | Dictionary key. |
Return Value
Reference to value corresponding to the key passed, existing or newly created.
DictionaryPtr::operator[](const T&) const method
Access operator.
V & System::Collections::Generic::DictionaryPtr<T, V>::operator[](const T &key) const
Arguments
| Parameter | Type | Description |
|---|---|---|
| key | const T& | Dictionary key. |
Return Value
Reference to value corresponding to the key passed, existing or newly created.
See Also
- Class DictionaryPtr
- Namespace System::Collections::Generic
- Library Aspose.Slides