---
title: "Aspose::Email::PersonalInfo::EmailAddressCategory::Equals method"
url: "https://reference.aspose.com/email/cpp/aspose.email.personalinfo/emailaddresscategory/equals/"
product: "Aspose.Email for C++"
description: "Determines whether the specified Object is equal to the current Object."
---


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

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

**Returns:** Returns a boolean indicating if the passed in object obj is Equal to this.

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

| Parameter | Description |
| --- | --- |
| other | The Object to compare with the current Object. |

---

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

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

**Returns:** Returns a boolean indicating if the passed in object obj is Equal to this.

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

| Parameter | Description |
| --- | --- |
| obj | The Object to compare with the current Object. |

