---
title: "method"
url: "https://reference.aspose.com/barcode/cpp/aspose.barcode.barcoderecognition/singledecodetype/getstring/"
product: "Aspose.BarCode for C++ API Reference"
description: " method. Converts the instance of SingleDecodeType to its equivalent string representation. The string format is: \"Index:-1; Name:None\" in C++."
---

## SingleDecodeType::GetString() method


Converts the instance of [SingleDecodeType](../) to its equivalent string representation. The string format is: "Index:-1; Name:None".

```cpp
System::String Aspose::BarCode::BarCodeRecognition::SingleDecodeType::GetString()
```


### ReturnValue

A string representing the complete value of the single decode type

## See Also

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


Converts the instance of [SingleDecodeType](../) to its equivalent string representation. The string format is: "Index:-1; Name:None".

```cpp
static System::String Aspose::BarCode::BarCodeRecognition::SingleDecodeType::GetString(System::SharedPtr<SingleDecodeType> instance)
```


| Parameter | Type | Description |
| --- | --- | --- |
| instance | System::SharedPtr\<SingleDecodeType\> | The [SingleDecodeType](../) instance to convert |

### ReturnValue

A string representing the complete value of the given single decode type

## See Also

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