---
title: "method"
url: "https://reference.aspose.com/barcode/cpp/aspose.barcode.barcoderecognition/multidecodetype/equals/"
product: "Aspose.BarCode for C++ API Reference"
description: " method. Returns a value indicating whether this instance is equal to a specified MultiDecodeType value in C++."
---

## MultiDecodeType::Equals(System::SharedPtr\<MultiDecodeType\>) method


Returns a value indicating whether this instance is equal to a specified [MultiDecodeType](../) value.

```cpp
bool Aspose::BarCode::BarCodeRecognition::MultiDecodeType::Equals(System::SharedPtr<MultiDecodeType> other) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| other | System::SharedPtr\<MultiDecodeType\> | An [MultiDecodeType](../) value to compare to this instance. |

### ReturnValue

**true** if obj has the same value as this instance; otherwise, **false**.

## See Also

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


Returns a value indicating whether this decode types collection contains only specified [SingleDecodeType](../../singledecodetype/) value.

```cpp
bool Aspose::BarCode::BarCodeRecognition::MultiDecodeType::Equals(System::SharedPtr<SingleDecodeType> other) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| other | System::SharedPtr\<SingleDecodeType\> | An [SingleDecodeType](../../singledecodetype/) value to compare to this decode types collection. |

### ReturnValue

**true** if this collection contains only specified decode type; otherwise, **false**.

## See Also

* Class [SingleDecodeType](../../singledecodetype/)
* Class [MultiDecodeType](../)
* Namespace [Aspose::BarCode::BarCodeRecognition](../../)
* Library [Aspose.BarCode for C++](../../../)
## MultiDecodeType::Equals(System::SharedPtr\<System::Object\>) method


Returns a value indicating whether this instance is equal to a specified [MultiDecodeType](../) value.

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


| Parameter | Type | Description |
| --- | --- | --- |
| obj | System::SharedPtr\<System::Object\> | An **System.Object** value to compare to this instance. |

### ReturnValue

**true** if obj has the same value as this instance; otherwise, **false**.

## See Also

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