## XmpMetadata::TryGetValue method


Tries to find key in the dictionary and retreives value if found.

```cpp
bool Aspose::Page::EPS::XMP::XmpMetadata::TryGetValue(const System::String &key, System::SharedPtr<XmpValue> &value) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| key | const System::String\& | Key to search in the dictionary. |
| value | System::SharedPtr\<XmpValue\>\& | Retreived value. |

### ReturnValue

true if key was found.

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmpValue](../../xmpvalue/)
* Class [XmpMetadata](../)
* Namespace [Aspose::Page::EPS::XMP](../../)
* Library [Aspose.Page for C++](../../../)
