# GetBindingInfos

> Gets information on all the bindings of the current element.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## GetBindingInfos()

Gets information on all the bindings of the current element.

```csharp
public IEnumerable<BindingInfo> GetBindingInfos()
```

### Returns

| Type                                                                                                         | Description               |
| ------------------------------------------------------------------------------------------------------------ | ------------------------- |
| [IEnumerable\<BindingInfo>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1) | The bindings information. |

### Remarks

The order in which the binding information is returned is undefined.

## GetBindingInfos(List\<BindingInfo>)

Gets information on all the bindings of the current element.

```csharp
public void GetBindingInfos(List<BindingInfo> bindingInfos)
```

### Parameters

**** (\[List\<BindingInfo>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): A list to contain the binding infos.

### Remarks

The order in which the binding information is returned is undefined.
