# Equals

> Indicates whether two binding properties are equal.

## Definition

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

## Equals(BindingId)

Indicates whether two binding properties are equal.

```csharp
public bool Equals(BindingId other)
```

### Parameters

**** (\[BindingId]\(/engine/6000.3/script-reference/unityengine/uielements/bindingid)): The object to compare with the current instance.

### Returns

| Type                                                          | Description                                                                                         |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` if obj and this instance are the same type and represent the same value; otherwise, `false`. |

## Equals(Object)

Indicates whether two binding properties are equal.

```csharp
public override bool Equals(object obj)
```

### Parameters

**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)):&#x20;

### Returns

| Type                                                          | Description                                                                                         |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` if obj and this instance are the same type and represent the same value; otherwise, `false`. |
