---
title: "Aspose::Page::EPS::XMP::XmpValue::to_KeyValuePair method"
url: "https://reference.aspose.com/page/cpp/aspose.page.eps.xmp/xmpvalue/to_keyvaluepair/"
product: "Aspose.Page for C++"
description: "Aspose::Page::EPS::XMP::XmpValue::to_KeyValuePair method. Converts XmpValue to named value in C++."
---

## XmpValue::to_KeyValuePair method


Converts [XmpValue](../) to named value.

```cpp
static System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>> Aspose::Page::EPS::XMP::XmpValue::to_KeyValuePair(System::SharedPtr<XmpValue> value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | System::SharedPtr\<XmpValue\> | Value to convert. |

### ReturnValue

XmlValue.

## See Also

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