---
title: "Class XmpRdfRoot"
url: "https://reference.aspose.com/psd/net/aspose.psd.xmp/xmprdfroot/"
product: "Aspose.PSD for .NET API Reference"
description: "Aspose.PSD.Xmp.XmpRdfRoot class. Represents rdfRDF element. A single XMP packet shall be serialized using a single rdfRDF XML element. The rdfRDF element content shall consist of only zero or more rdfDescription elements"
---

{{< psd/tize >}}
## XmpRdfRoot class

Represents rdf:RDF element. A single XMP packet shall be serialized using a single rdf:RDF XML element. The rdf:RDF element content shall consist of only zero or more rdf:Description elements.

```csharp
public sealed class XmpRdfRoot : XmpElementBase, IXmlValue
```

## Constructors

| Name | Description |
| --- | --- |
| [XmpRdfRoot](xmprdfroot/)() | The default constructor. |

## Methods

| Name | Description |
| --- | --- |
| virtual [AddAttribute](../../aspose.psd.xmp/xmpelementbase/addattribute/)(string, string) | Adds the attribute. |
| virtual [ClearAttributes](../../aspose.psd.xmp/xmpelementbase/clearattributes/)() | Removes all attributes. |
| override [Equals](../../aspose.psd.xmp/xmpelementbase/equals/)(object) | Determines whether the specified Object, is equal to this instance. |
| [Equals](../../aspose.psd.xmp/xmpelementbase/equals/)(XmpElementBase) | Indicates whether the current object is equal to another object of the same type. |
| virtual [GetAttribute](../../aspose.psd.xmp/xmpelementbase/getattribute/)(string) | Gets the attribute. |
| override [GetHashCode](../../aspose.psd.xmp/xmpelementbase/gethashcode/)() | Returns a hash code for this instance. |
| [GetNamespaceUri](../../aspose.psd.xmp/xmprdfroot/getnamespaceuri/)(string) | Gets namespace URI by specific prefix. Prefix may start without xmlns. |
| [GetXmlValue](../../aspose.psd.xmp/xmprdfroot/getxmlvalue/)() | Converts xmp value to the xml representation. |
| [RegisterNamespaceUri](../../aspose.psd.xmp/xmprdfroot/registernamespaceuri/)(string, string) | Adds namespace uri by prefix. Prefix may start without xmlns. |

### See Also

* class [XmpElementBase](../xmpelementbase/)
* interface [IXmlValue](../ixmlvalue/)
* namespace [Aspose.PSD.Xmp](../../aspose.psd.xmp/)
* assembly [Aspose.PSD](../../)


