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

# BatchItem オブジェクト（IBatchItem インターフェイス）

このオブジェクトはバッチアイテムに対応します。バッチアイテムはページまたはドキュメントを表します。

バッチのアイテムが単一のドキュメントだけでなく[文書セット](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/batch.md#documents)にもなり得るシナリオでは、通常の機能に加えて **BatchItem** オブジェクトを使用してください。ドキュメントを **BatchItem** としてマークすると、そのドキュメントにさらに子ドキュメントを追加できます。

## Properties

| **名前** | **型** | **説明** |
| - | - | - |
| **AsDocument** | [**Document**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/document.md)、読み取り専用 | バッチアイテムがドキュメントの場合は、**Document** オブジェクトを返します。それ以外の場合、このプロパティは NULL になります。 |
| **AsPage** | [**Page**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/page.md)、読み取り専用 | バッチアイテムがページの場合は、**Page** オブジェクトを返します。それ以外の場合、このプロパティは NULL になります。 |
| **ChildItems** | [**BatchItems**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/batchitems.md)、読み取り専用 | バッチアイテムの子アイテムのコレクションを返します。 |
| **Id** | [**Integer**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | バッチアイテムの識別子を格納します。 |
| **Type** | [**BatchItemTypeEnum**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/batchitemtypeenum.md)、読み取り専用 | バッチアイテムの型を格納します。 |

## 関連オブジェクト

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

## 関連項目

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

[Properties の操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md)
