# XmlProlog

> The C# definition of the <xml> Android Manifest element.

## Definition

* **Type:** Class
* **Namespace:** [Unity.Android.Gradle.Manifest](/engine/6000.7/script-reference/unity/android/gradle/manifest.md)
* **Assembly:** Unity.Android.Gradle
* **Inherits from:** [BaseElement](/engine/6000.7/script-reference/unity/android/gradle/manifest/baseelement.md)
* **Implements:** [ICloneable](https://learn.microsoft.com/dotnet/api/system.icloneable)

```csharp
public sealed class XmlProlog : BaseElement, ICloneable
```

## Remarks

For more information about the element, see Android's documentation: [XmlProlog element](https://www.w3.org/TRxml#sec-prolog-dtd)

## Static Fields

| Value                                                                                                         | Description                       |
| ------------------------------------------------------------------------------------------------------------- | --------------------------------- |
| [DefaultEncoding](/engine/6000.7/script-reference/unity/android/gradle/manifest/xmlprolog/defaultencoding.md) | Default XML version.              |
| [DefaultVersion](/engine/6000.7/script-reference/unity/android/gradle/manifest/xmlprolog/defaultversion.md)   | Default encoding in the XML file. |

## Constructors

| Constructor                                                                                                                                                  | Description          |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------- |
| [XmlProlog()](/engine/6000.7/script-reference/unity/android/gradle/manifest/xmlprolog/ctor.md#xmlprolog\(\))                                                 | Element constructor. |
| [XmlProlog(Unity.Android.Gradle.Manifest.XmlProlog)](/engine/6000.7/script-reference/unity/android/gradle/manifest/xmlprolog/ctor.md#xmlprolog\(xmlprolog\)) | Element constructor. |

## Properties

| Property                                                                                                                  | Description                                           |
| ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [DeclarationAttributes](/engine/6000.7/script-reference/unity/android/gradle/manifest/xmlprolog/declarationattributes.md) | The attributes container for the `  <xml>  ` element. |

## Classes

| Class                                                                                                                           | Description                                           |
| ------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [XmlProlog.AttributesContainer](/engine/6000.7/script-reference/unity/android/gradle/manifest/xmlprolog/attributescontainer.md) | The attributes container for the `  <xml>  ` element. |

## Inheritance

**Inherited Members:**

* [BaseElement.GetName()](/engine/6000.7/script-reference/unity/android/gradle/manifest/baseelement/getname.md)
* [BaseElement.GetID()](/engine/6000.7/script-reference/unity/android/gradle/manifest/baseelement/getid.md)
* [BaseElement.ResolveConflict()](/engine/6000.7/script-reference/unity/android/gradle/manifest/baseelement/resolveconflict.md)
* [BaseElement.GetUniqueName()](/engine/6000.7/script-reference/unity/android/gradle/manifest/baseelement/getuniquename.md)
* [BaseElement.GetCustomAttribute(string)](/engine/6000.7/script-reference/unity/android/gradle/manifest/baseelement/getcustomattribute.md)
* [BaseElement.GetAllAttributes()](/engine/6000.7/script-reference/unity/android/gradle/manifest/baseelement/getallattributes.md)
* [BaseElement.SetCustomAttribute(string, string)](/engine/6000.7/script-reference/unity/android/gradle/manifest/baseelement/setcustomattribute.md)
* [BaseElement.RemoveCustomAttribute(string)](/engine/6000.7/script-reference/unity/android/gradle/manifest/baseelement/removecustomattribute.md)
* [BaseElement.AddCustomElement(string, Dictionary\<string, string>)](/engine/6000.7/script-reference/unity/android/gradle/manifest/baseelement/addcustomelement.md)
* [BaseElement.Remove()](/engine/6000.7/script-reference/unity/android/gradle/manifest/baseelement/remove.md)
* [BaseElement.CustomElements()](/engine/6000.7/script-reference/unity/android/gradle/manifest/baseelement/customelements.md)
