method

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.

static bool Aspose::BarCode::ComplexBarcode::GS1Codetext::TryParse(System::String value, System::SharedPtr<GS1Codetext> &result, System::SharedPtr<Common::GS1ValidationResult> &validationResult)
ParameterTypeDescription
valueSystem::StringBracketed GS1 element string to parse.
resultSystem::SharedPtr<GS1Codetext>&When this method returns true, contains the parsed GS1 codetext; otherwise null.
validationResultSystem::SharedPtr<Common::GS1ValidationResult>&Contains the validation result, or null when value is null.

ReturnValue

True when parsing succeeds; otherwise false.

See Also