GS1Codetext.TryParse
GS1Codetext.TryParse method
Attempts to parse a bracketed GS1 element string in the form (AI)value(AI)value and returns structured validation errors. A literal ‘(’ inside a value must be written as (; no other escape sequence is supported, and ‘)’ does not require escaping.
public static bool TryParse(string value, out GS1Codetext result,
out GS1ValidationResult validationResult)
| Parameter | Type | Description |
|---|---|---|
| value | String | Bracketed GS1 element string to parse. |
| result | GS1Codetext& | When this method returns true, contains the parsed GS1 codetext; otherwise null. |
| validationResult | GS1ValidationResult& | Contains the validation result, or null when value is null. |
Return Value
True when parsing succeeds; otherwise false.
See Also
- class GS1ValidationResult
- class GS1Codetext
- namespace Aspose.BarCode.ComplexBarcode
- assembly Aspose.BarCode