> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DataSet Object (IDataSet Interface)

This object represents a data set.

A *data set* is a collection of data records, usually represented as a table and collected for a specific purpose. The records are represented by rows in the table (**TableRecords** property), while columns (**TableColumns** property) correspond to fields which may be filled in for each record. The data set may be attached either to a Document Definition as a whole or a specific section in the Document Definition.

Data sets are used in:

* Document Definitions of invoice projects, for storing information about vendors and business units.
* Document Definitions of non-invoice projects, for storing the variants of document definition sections. These data sets are used for training the fields of the section.
* Any Document Definitions, for storing various information for checking rules.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **Name** | [**String**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | The name of a data set. |
| **TableRecords** | [**DataSetTableRecords**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasettablerecords.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Provides access to the records stored in the table. |
| **TableColumns** | [**DataSetTableColumns**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasettablecolumns.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Provides access to the columns of the table. |

## Related objects

![](https://mintcdn.com/abbyy/89WLEbAVqQ-ysQEU/images/flexi-capture/sdk/DataSet.gif?s=02b0bd0e3446385fe17fb09499e9a2ba)

## Output parameter

This object is the output parameter of the [**AddNew**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasets-addnew.md), [**Find**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasets-find.md) and [**Item**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/item.md) methods of the [**DataSets**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasets.md) object.

## See also

[**DataSets**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasets.md)

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
