## DictionaryPtr::operator[](const T\&) const method


Operador de acceso.

```cpp
V & System::Collections::Generic::DictionaryPtr<T, V>::operator[](const T &key) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| key | const T\& | [Dictionary](../../dictionary/) clave. |

### ReturnValue

Referencia al valor correspondiente a la clave proporcionada, existente o recién creado.

## Ver también

* Class [DictionaryPtr](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
## DictionaryPtr::operator[](const X\&) const method


Operador de acceso para trabajar con la conversión del tipo de clave.

```cpp
template<class X> V & System::Collections::Generic::DictionaryPtr<T, V>::operator[](const X &key) const
```


| Parámetro | Descripción |
| --- | --- |
| X | Tipo de clave de origen. |

| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| key | const X\& | [Dictionary](../../dictionary/) clave. |

### ReturnValue

Referencia al valor correspondiente a la clave proporcionada, existente o recién creado.

## Ver también

* Class [DictionaryPtr](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
