
## Equals (1 of 2) {#equals_1}

Indicates whether the current object is equal to another object of the same type.

**Returns:** true if the current object is equal to the other parameter; otherwise, false.

```cpp
Equals(System::SharedPtr < MailQuery > other)
```

| Parameter | Description |
| --- | --- |
| other | An object to compare with this object. |

---

## Equals (2 of 2) {#equals_2}

Determines whether the specified System::Object , is equal to this instance.

**Returns:** true if the specified System::Object is equal to this instance; otherwise, false .

```cpp
Equals(System::SharedPtr < System::Object > obj)
```

| Parameter | Description |
| --- | --- |
| obj | The System::Object to compare with this instance. |

