ResultsTable Class
The ResultsTable class represents the extracted table field.
Definition
- Namespace:
UiPath.DocumentProcessing.Contracts.Results - Assembly:
UiPath.DocumentProcessing.Contracts
Description
The ResultsTable class represents the extracted table field. It has one or multiple ResultsTableValues (to support single and multi-value tables, respectively) and each value has an array of ResultsTableCells. Each cell has an array of ResultsValue which is the standard value object used for simple fields.
Members
Constructors
ResultsTable(<string>, <string>) - Creates a missing automatically extractedUiPath.DocumentProcessing.Contracts.Results.ResultsTable. SetsUiPath.DocumentProcessing.Contracts.Results.ResultsTable.DataSourcetoAutomaticandUiPath.DocumentProcessing.Contracts.Results.ResultsTable.DataVersionto 0.ResultsTable(<string>, <string>, UiPath.DocumentProcessing.Contracts.Results.ResultsDataSource, UiPath.DocumentProcessing.Contracts.Results.ResultsTableValue[], <int>, <bool>)- Creates aUiPath.DocumentProcessing.Contracts.Results.ResultsTable` using the provided arguments.ResultsTable(<string>, <string>, UiPath.DocumentProcessing.Contracts.Results.ResultsTableValue)- Creates an automatically extracted
UiPath.DocumentProcessing.Contracts.Results.ResultsTablewith a single value. SetsUiPath.DocumentProcessing.Contracts.Results.ResultsTable.DataSourcetoAutomatic,UiPath.DocumentProcessing.Contracts.Results.ResultsTable.DataVersionto 0.
- Creates an automatically extracted
ResultsTable(<string>, <string>, UiPath.DocumentProcessing.Contracts.Results.ResultsTableValue[])- Creates an automatically extracted
UiPath.DocumentProcessing.Contracts.Results.ResultsTable. SetsUiPath.DocumentProcessing.Contracts.Results.ResultsTable.DataSourcetoAutomatic,UiPath.DocumentProcessing.Contracts.Results.ResultsTable.DataVersionto 0.
- Creates an automatically extracted
Methods
ConvertFromDataPointTableFormat(UiPath.DocumentProcessing.Contracts.Results.ResultsDataPoint)- Converts an instance of the old table representation (which used data points) to the new table structure.
ConvertToDataPointTableFormat()- Converts an instance of the new table structure to the old representation using data points.GetValue()- Returns the first table value or null if the table is missing.GetValue(<int>) - Returns the table value at the specified index or null if the table is missing.SetValue(UiPath.DocumentProcessing.Contracts.Results.ResultsTableValue)- Overwrites the current value(s) with the single specified value.
Properties
DataSource<string>- Source of field extracted value.DataVersion<int>- The number of changes done to the table. The version of an automatically extracted table is 0, and is incremented for each subsequent manual modification.FieldId<string>- Table field ID from the taxonomy.FieldName<string>- Table field name from the taxonomy.IsMissing<bool>- Flag specifying if the table has any extracted values or not.OperatorConfirmed<bool>- Flag indicating if the table was confirmed by a reviewer.Values<string>- Values extracted for the current table.public string ValidatorNotes {get; set}=string.Empty.public string ValidatorNotesInfo {get; set}=string.Empty.