# AddCustomElement(string, Dictionary<string, string>)

> Adds a new element as a child.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Android.Gradle.Manifest](/engine/6000.6/script-reference/unity/android/gradle/manifest.md)
* **Assembly:** Unity.Android.Gradle

```csharp
public BaseElement AddCustomElement(string elementName, Dictionary<string, string> attributes = null)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Elemenet name.**** (\[Dictionary\<string, string>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)): Dictionary of attributes to add.

### Returns

| Type                                                                                        | Description |
| ------------------------------------------------------------------------------------------- | ----------- |
| [BaseElement](/engine/6000.6/script-reference/unity/android/gradle/manifest/baseelement.md) |             |
