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

# DeleteRecognitionResults Method of the Batch Object

This method deletes all recognition results in the specified documents.

## Syntax

```vb Visual Basic .NET theme={null}
Sub DeleteRecognitionResults(DocIds As IntsCollection)
```

```cpp C++ theme={null}
HRESULT DeleteRecognitionResults(
  IIntsCollection* DocIds
);
```

## Parameters

**DocIds**

\[in] This parameter refers to the [**IntsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/intscollection.md) object that contains the set of indices of the documents to delete recognition results in. This parameter may be 0, in which case recognition results are deleted in all the documents of the batch.

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

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