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

Determines whether the specified object is equal to the current object.

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

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

| Parameter | Description |
| --- | --- |
| other | The object to compare with the current 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. |

