## IDictionary::TryGetValue method


Söker efter värdet och hämtar det om det hittas.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| nyckel | const TKey\& | Nyckel att söka efter. |
| värde | TValue\& | Referens att lagra det hämtade värdet i. |

### ReturnValue

Sant om värdet hittades och hämtades, falskt annars.

## Se även

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