---
title: "method"
url: "https://reference.aspose.com/barcode/cpp/aspose.barcode.generation/baseencodetype/tostring/"
product: "Aspose.BarCode for C++ API Reference"
description: " method. Returns the name of the given BaseEncodeType as a string in C++."
---

## BaseEncodeType::ToString method


Returns the name of the given [BaseEncodeType](../) as a string.

```cpp
System::String Aspose::BarCode::Generation::BaseEncodeType::ToString() const override
```


### ReturnValue

A string representing the name of the encode type

## See Also

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