---
title: "Aspose::Page::EPS::XMP::XmpMetadata::SetNamedValue method"
url: "https://reference.aspose.com/page/cpp/aspose.page.eps.xmp/xmpmetadata/setnamedvalue/"
product: "Aspose.Page for C++"
description: "Aspose::Page::EPS::XMP::XmpMetadata::SetNamedValue method. Sets named value into a structure. Previous named value, if already exists, will be replaced with new one in C++."
---

## XmpMetadata::SetNamedValue method


Sets named value into a structure. Previous named value, if already exists, will be replaced with new one.

```cpp
void Aspose::Page::EPS::XMP::XmpMetadata::SetNamedValue(System::String structureKey, System::String valueKey, System::SharedPtr<XmpValue> value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| structureKey | System::String | Key of the structure to search in the dictionary. |
| valueKey | System::String | Name of the value to set into the struture. |
| value | System::SharedPtr\<XmpValue\> | Value to set into the struture. |

## 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++](../../../)
