## IDictionary::TryGetValue method


Busca el valor y lo recupera si se encuentra.

```cpp
virtual bool System::Collections::Generic::IDictionary<TKey, TValue>::TryGetValue(const TKey &key, TValue &value) const =0
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| clave | const TKey\& | Clave a buscar. |
| valor | TValue\& | Referencia donde almacenar el valor recuperado. |

### ReturnValue

Verdadero si el valor se encontró y se recuperó, falso en caso contrario.

## Ver también

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