---
title: "method"
url: "https://reference.aspose.com/barcode/cpp/aspose.barcode.complexbarcode/alternativescheme/equals/"
product: "Aspose.BarCode for C++ API Reference"
description: " method. Determines whether the specified object is equal to the current object in C++."
---

## AlternativeScheme::Equals(System::SharedPtr\<System::Object\>) method


Determines whether the specified object is equal to the current object.

```cpp
bool Aspose::BarCode::ComplexBarcode::AlternativeScheme::Equals(System::SharedPtr<System::Object> obj) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| obj | System::SharedPtr\<System::Object\> | The object to compare with the current object. |

### ReturnValue

**true** if the specified object is equal to the current object; otherwise, **false**.

## See Also

* Class [AlternativeScheme](../)
* Namespace [Aspose::BarCode::ComplexBarcode](../../)
* Library [Aspose.BarCode for C++](../../../)
## AlternativeScheme::Equals(System::SharedPtr\<AlternativeScheme\>) method


Determines whether the specified alernative scheme is equal to the current alternative scheme.

```cpp
bool Aspose::BarCode::ComplexBarcode::AlternativeScheme::Equals(System::SharedPtr<AlternativeScheme> other) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| other | System::SharedPtr\<AlternativeScheme\> | The alternative scheme to compare with the current alternative scheme. |

### ReturnValue

**true** if the specified object is equal to the current object; otherwise, **false**.

## See Also

* Class [AlternativeScheme](../)
* Class [AlternativeScheme](../)
* Namespace [Aspose::BarCode::ComplexBarcode](../../)
* Library [Aspose.BarCode for C++](../../../)
