> ## 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.

# Delete Method of the DataSets Object

This method deletes the data set from the collection.

## Syntax

```vb Visual Basic .NET theme={null}
Sub Delete(Item As DataSet)
```

```cpp C++ theme={null}
HRESULT Delete( IDataSet* Item );
```

## Parameters

**Item**

\[in] The variable specifies the [**DataSet**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/dataset.md) to be removed.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

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