---
title: "Aspose::Email::Mapi::PidTagPropertyDescriptor::Equals method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/pidtagpropertydescriptor/equals/"
product: "Aspose.Email for C++"
description: "Indicates whether the current object is equal to another object of the same type."
---


## 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 < PropertyDescriptor > 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 the current System.Object.

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

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

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

