## Aspose::Pdf::operator==(const System::SharedPtr\<Color\>\&, const System::SharedPtr\<Color\>\&) method


Returns true if two Colors are equal.

```cpp
bool Aspose::Pdf::operator==(const System::SharedPtr<Color> &x, const System::SharedPtr<Color> &y)
```


| Parameter | Type | Description |
| --- | --- | --- |
| x | const System::SharedPtr\<Color\>\& | First [Color](../color/) object. |
| y | const System::SharedPtr\<Color\>\& | Second [Color](../color/) object. |

### ReturnValue

True in case [Color](../color/) objects are equal.

## See Also

* Typedef [SharedPtr](../../system/sharedptr/)
* Class [Color](../color/)
* Namespace [Aspose::Pdf](../)
* Library [Aspose.PDF for C++](../../)
## Aspose::Pdf::operator==(const System::SharedPtr\<XmpField\>\&, const System::SharedPtr\<XmpField\>\&) method


Implements the operator ==.

```cpp
bool Aspose::Pdf::operator==(const System::SharedPtr<XmpField> &field1, const System::SharedPtr<XmpField> &field2)
```


| Parameter | Type | Description |
| --- | --- | --- |
| field1 | const System::SharedPtr\<XmpField\>\& | The field1. |
| field2 | const System::SharedPtr\<XmpField\>\& | The field2. |

### ReturnValue

The result of the operator.

## See Also

* Typedef [SharedPtr](../../system/sharedptr/)
* Class [XmpField](../xmpfield/)
* Namespace [Aspose::Pdf](../)
* Library [Aspose.PDF for C++](../../)
