## TryParse(string, out BaseEncodeType) {#tryparse}

Converts the string representation of a BaseEncodeType to its instance. A return value indicates whether the conversion succeeded or failed.

```csharp
public static bool TryParse(string parsingType, out BaseEncodeType result)
```

| Parameter | Type | Description |
| --- | --- | --- |
| parsingType | String | A string in the format as "Index:-1; Name:None" to convert. |
| result | BaseEncodeType& | An actual SingleEncodeType returns, when conversion has completed successfully; |

### Return Value

**true** if s was converted successfully; otherwise, **false**.

### See Also

* class [BaseEncodeType](../)
* namespace [Aspose.BarCode.Generation](../../../aspose.barcode.generation/)
* assembly [Aspose.BarCode](../../../)

---

## TryParse(string, out SymbologyEncodeType) {#tryparse_1}

Converts the string representation of a BaseEncodeType to its instance. A return value indicates whether the conversion succeeded or failed.

```csharp
public static bool TryParse(string parsingType, out SymbologyEncodeType result)
```

| Parameter | Type | Description |
| --- | --- | --- |
| parsingType | String | A string in the format as "Index:-1; Name:None" to convert. |
| result | SymbologyEncodeType& | An actual SingleEncodeType returns, when conversion has completed successfully; |

### Return Value

**true** if s was converted successfully; otherwise, **false**.

### See Also

* class [SymbologyEncodeType](../../symbologyencodetype/)
* class [BaseEncodeType](../)
* namespace [Aspose.BarCode.Generation](../../../aspose.barcode.generation/)
* assembly [Aspose.BarCode](../../../)


