## DnsEndPoint::Equals method


Compares objects using C# [Object.Equals](../../../system/object/equals/) semantics.

```cpp
bool System::Net::DnsEndPoint::Equals(System::SharedPtr<Object> comparand) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| comparand | System::SharedPtr\<Object\> | [Object](../../../system/object/) to compare current one to. |

### ReturnValue

True if objects are considered equal and false otherwise.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [DnsEndPoint](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
