---
title: "method"
url: "https://reference.aspose.com/barcode/cpp/aspose.barcode.barcoderecognition/multidecodetype/exclude/"
product: "Aspose.BarCode for C++ API Reference"
description: " method. Excludes SingleDecodeType from the MultiDecodeType and returns new MultiDecodeType instance in C++."
---

## MultiDecodeType::Exclude method


Excludes [SingleDecodeType](../../singledecodetype/) from the [MultiDecodeType](../) and returns new [MultiDecodeType](../) instance.

```cpp
System::SharedPtr<MultiDecodeType> Aspose::BarCode::BarCodeRecognition::MultiDecodeType::Exclude(System::SharedPtr<SingleDecodeType> singleType)
```


| Parameter | Type | Description |
| --- | --- | --- |
| singleType | System::SharedPtr\<SingleDecodeType\> | A Single [DecodeType](../../decodetype/) to be excluded. |

### ReturnValue

New [MultiDecodeType](../) instance with excluded [SingleDecodeType](../../singledecodetype/).

## See Also

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