---
title: "Aspose::Email::Mapi::PidTagPropertyDescriptor::operator== method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/pidtagpropertydescriptor/operator/"
product: "Aspose.Email for C++"
description: "Determines whether the specified objects are equal to each another."
---


## operator== {#operator}

Determines whether the specified objects are equal to each another.

**Returns:** true if the specified PropertyDescriptor is equal to the another PropertyDescriptor ; otherwise, false.

```cpp
bool operator==(System::SharedPtr < PidTagPropertyDescriptor > pd1, System::SharedPtr < PropertyDescriptor > pd2)
```

| Parameter | Description |
| --- | --- |
| pd1 | The object to compare with another object. |
| pd2 | The object to compare with another object. |

