## Encoding::Equals method


Compares encodings.

```cpp
bool System::Text::Encoding::Equals(SharedPtr<Object> obj) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| obj | SharedPtr\<Object\> | [Object](../../../system/object/) to compare to. |

### ReturnValue

True if both objects are of same encoding type, false otherwise.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [Encoding](../)
* Namespace [System::Text](../../)
* Library [Aspose.PDF for C++](../../../)
