## EncodeTypes::Parse method


Converts the string representation of a [BaseEncodeType](../../baseencodetype/) to its instance. A return value indicates whether the conversion succeeded or failed.

```cpp
static bool Aspose::BarCode::Generation::EncodeTypes::Parse(System::String parsingType, System::SharedPtr<BaseEncodeType> &result)
```


| Parameter | Type | Description |
| --- | --- | --- |
| parsingType | System::String | A string containing a [BaseEncodeType](../../baseencodetype/) representation to convert. |
| result | System::SharedPtr\<BaseEncodeType\>\& | An actual [BaseEncodeType](../../baseencodetype/) returns, when conversion has completed successfully; |

### ReturnValue

**true** if s was converted successfully; otherwise, **false**.
## Remarks



otherwise it returns null.

## See Also

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