# ResultsTableCell Class

> ResultsTableCell class, representing an extracted table cell in document processing results.

`ResultsTableCell` is a public class which represents an extracted table cell.

## Definition

* Namespace: `UiPath.DocumentProcessing.Contracts.Results`
* Assembly: `UiPath.DocumentProcessing.Contracts`

## Description

A public class which represents an extracted table cell.

## Members

### Constructors

* `ResultsTableCell(int rowIndex, int columnIndex, bool isHeader = false)` - Creates an automatically extracted missing table cell, with no values.
    * `rowIndex` (`Int32`) - The row index of the cell.
    * `columnIndex` (`Int32`) - The column index of the cell.
    * `isHeader` (`Boolean`, optional) - Indicates whether the cell is part of the header.
* `ResultsTableCell(ResultsValue[] values, int rowIndex, int columnIndex)` - Creates an automatically extracted table body cell.
    * `values` ([`ResultsValue[]`](results-value-class.md)) - The values extracted for the cell.
    * `rowIndex`, `columnIndex` - Same as above.
* `ResultsTableCell(ResultsValue[] values, int rowIndex, int columnIndex, bool isHeader)` - Creates an automatically extracted cell, either a body or a header cell.
    * `values`, `rowIndex`, `columnIndex`, `isHeader` - Same as above.
* `ResultsTableCell(ResultsValue[] values, int rowIndex, int columnIndex, bool isHeader, ResultsDataSource dataSource, int dataVersion, bool operatorConfirmed)` - Creates a table cell with full control over the data source and version. For manually entered or corrected data.
    * `dataSource` ([`ResultsDataSource`](results-data-source-enum.md)) - The source of the reported values, for example `Automatic` or `ManuallyChanged`.
    * `dataVersion` (`Int32`) - The revision number of the cell: `0` for automatic extraction, incremented for each manual modification.
    * `operatorConfirmed` (`Boolean`) - Indicates whether the cell was confirmed by a reviewer.
    * `values`, `rowIndex`, `columnIndex`, `isHeader` - Same as above.

### Methods

* `GetValue()` - Returns the first cell value or null if the cell is missing.
* `GetValue` (`<int>`) - Returns the cell value at the specified index or null if the cell is missing.
* `SetValue(UiPath.DocumentProcessing.Contracts.Results.ResultsValue)` - Overwrites the current value(s) with the single specified value.

### Properties

* `ColumnIndex` `<int>` - Indicates the column index.
* `DataSource` `<string>`- The source of the reported information.
* `DataVersion` `<int>` - The number of changes done to the cell. The version of an automatically extracted cell is 0, and is incremented for each subsequent manual modification.
* `IsHeader` `<bool>` - Indicates whether the cell is part of the header or not
* `IsMissing` `<bool>` - Flag specifying if the cell has any extracted values or not.
* `OperatorConfirmed` `<bool>` - Flag specifying if the user has reviewed the cell.
* `RowIndex` `<int>` - Indicates the row index.
* `Values` `<string>` -The values extracted for the table cell.
