## IDictionary::TryGetValue method


Looks for value and retreives it if found.

```cpp
virtual bool System::Collections::Generic::IDictionary<TKey, TValue>::TryGetValue(const TKey &key, TValue &value) const =0
```


| Parameter | Type | Description |
| --- | --- | --- |
| key | const TKey\& | Key to look for. |
| value | TValue\& | Reference to store retreived value into. |

### ReturnValue

True if value was found and retreived, false otherwise.

## See Also

* Class [IDictionary](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
