## Add(string, XmpValue) {#add_2}

Adds value to metadata.

```csharp
public void Add(string key, XmpValue value)
```

| Parameter | Type | Description |
| --- | --- | --- |
| key | String | The key to add. |
| value | XmpValue | Value which will be added. |

### See Also

* class [XmpValue](../../xmpvalue/)
* class [Metadata](../)
* namespace [Aspose.Pdf](../../../aspose.pdf/)
* assembly [Aspose.PDF](../../../)

---

## Add(string, object) {#add_3}

Adds value to metadata.

```csharp
public void Add(string key, object value)
```

| Parameter | Type | Description |
| --- | --- | --- |
| key | String | The key to add. |
| value | Object | Value which will be added. |

### See Also

* class [Metadata](../)
* namespace [Aspose.Pdf](../../../aspose.pdf/)
* assembly [Aspose.PDF](../../../)

---

## Add(string, XmpPdfAExtensionObject) {#add_1}

Adds pdf extension to metadata.

```csharp
public void Add(string prefix, XmpPdfAExtensionObject value)
```

| Parameter | Type | Description |
| --- | --- | --- |
| prefix | String | The prefix of extension. |
| value | XmpPdfAExtensionObject | Value which will be added. |

### See Also

* class [XmpPdfAExtensionObject](../../xmppdfaextensionobject/)
* class [Metadata](../)
* namespace [Aspose.Pdf](../../../aspose.pdf/)
* assembly [Aspose.PDF](../../../)

---

## Add(KeyValuePair&lt;string, XmpValue&gt;) {#add}

Adds pair with key and value into the dictionary.

```csharp
public void Add(KeyValuePair<string, XmpValue> item)
```

| Parameter | Type | Description |
| --- | --- | --- |
| item | KeyValuePair`2 | Item to be added. |

### See Also

* class [XmpValue](../../xmpvalue/)
* class [Metadata](../)
* namespace [Aspose.Pdf](../../../aspose.pdf/)
* assembly [Aspose.PDF](../../../)


