Parser Field

Defined in namespace Scandit.DataCapture.Parser

ParsedField
class ParsedField : IDisposable

Added in version 6.16.0

A field is a view onto a parse result owned by the ParsedData it was read from, and the same field instance is returned to every reader of that collection. Disposing the ParsedData is what releases the result; disposing a field has no effect.

Name
string Name { get; }

Added in version 6.16.0

The name of the field.

Parsed
object Parsed { get; }

Added in version 6.16.0

The parsed data contained in this field. Depending on the field type, this returns a string, float, int, bool, map or array. Consult the field documentation for information on the type for the fields you are interested in.

RawString
string RawString { get; }

Added in version 6.16.0

The raw string that represents this field in the input string/data.

Warnings
IList<ParserIssue> Warnings { get; }

Added in version 7.0.0

Warnings associated with this field