# BaseElement

> Abstract base class for all existing Android manifest elements.

## Definition

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

```csharp
public class BaseElement : ICloneable
```

## Properties

| Property                                                                                                      | Description            |
| ------------------------------------------------------------------------------------------------------------- | ---------------------- |
| [CustomElements](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/customelements.md) | Custom child elements. |

## Methods

| Method                                                                                                                      | Description                                                           |
| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| [AddCustomElement](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/addcustomelement.md)           | Adds a new element as a child.                                        |
| [GetAllAttributes](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/getallattributes.md)           | Gets all attributes on this element.                                  |
| [GetCustomAttribute](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/getcustomattribute.md)       | Gets a custom attribute by attribute name.                            |
| [GetID](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/getid.md)                                 | Gets the unique ID of the element.                                    |
| [GetName](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/getname.md)                             | Gets the element name.                                                |
| [GetUniqueName](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/getuniquename.md)                 | Gets a unique name of the element.                                    |
| [Remove](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/remove.md)                               | Removes this element from the file.                                   |
| [RemoveCustomAttribute](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/removecustomattribute.md) | Removes a custom attribute by name.                                   |
| [ResolveConflict](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/resolveconflict.md)             | Resolve a conflict if element was already modified by another script. |
| [SetCustomAttribute](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/setcustomattribute.md)       | Sets a custom attribute with name and value.                          |
