---
title: "Aspose::Email::Mapi::PropertyDescriptor::operator== method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/propertydescriptor/operator/"
product: "Aspose.Email for C++"
description: "Determines whether the specified System.Object is equal to the current System.Object."
---


## operator== {#operator}

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
bool operator==(System::SharedPtr < PropertyDescriptor > pd1, System::SharedPtr < PropertyDescriptor > pd2)
```

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

