## BaseDictionary::TryGetValue method


Söker efter nyckelvärde och hämtar det om det hittas.

```cpp
bool System::Collections::Generic::BaseDictionary<Map>::TryGetValue(const key_t &key, mapped_t &value) const override
```


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| nyckel | const key_t\& | Nyckel att söka efter. |
| värde | mapped_t\\& | Referens för att lagra hittat värde på. |

### ReturnValue

true om värdet hittas och hämtas, false annars.

## Se även

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