# GetElement

> Gets an element from the list.

## Definition

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

## GetElement(uint)

Gets an element from the list.

```csharp
public T GetElement(uint elementID)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Element ID.

### Returns

| Type | Description                                                                                 |
| ---- | ------------------------------------------------------------------------------------------- |
| T    | The element from the list that matches the parameter. If there isn't a match, returns null. |

## GetElement(Dictionary\<string, string>)

Gets an element from the list.

```csharp
public T GetElement(Dictionary<string, string> attributes)
```

### Parameters

**** (\[Dictionary\<string, string>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)): Dictionary of attributes that the element must include.

### Returns

| Type | Description                                                                                 |
| ---- | ------------------------------------------------------------------------------------------- |
| T    | The element from the list that matches the parameter. If there isn't a match, returns null. |

## GetElement(string, Dictionary\<string, string>)

Gets an element from the list.

```csharp
public T GetElement(string name, Dictionary<string, string> attributes)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Element name.**** (\[Dictionary\<string, string>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)): Dictionary of attributes that the element must include.

### Returns

| Type | Description                                                                                 |
| ---- | ------------------------------------------------------------------------------------------- |
| T    | The element from the list that matches the parameter. If there isn't a match, returns null. |
