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

# Batch オブジェクトの DeleteRecognitionResults メソッド

このメソッドは、指定したドキュメント内のすべての認識結果を削除します。

## 構文

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

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

## パラメーター

**DocIds**

\[in] このパラメーターは、認識結果を削除するドキュメントのインデックスのセットを格納した [**IntsCollection**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/intscollection.md) オブジェクトを参照します。このパラメーターには 0 を指定することもでき、その場合はバッチ内のすべてのドキュメントの認識結果が削除されます。

## 戻り値

このメソッドに固有の戻り値はありません。[ABBYY FlexiCapture SDK 関数の標準の戻り値](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/errorcodes.md)を返します。

## 関連項目

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