## IDictionary::TryGetValue method


Cerca il valore e lo recupera se trovato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| chiave | const TKey\& | Chiave da cercare. |
| value | TValue\& | Riferimento in cui memorizzare il valore recuperato. |

### ReturnValue

Vero se il valore è stato trovato e recuperato, falso altrimenti.

## Vedi anche

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