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

# BatchTypes オブジェクト（IBatchTypes インターフェース）

このオブジェクトは、[バッチタイプ](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/batchtype.md)のコレクションを表します。プロジェクトには、よく使用する処理設定のセットごとに複数のバッチタイプを定義できます。プロジェクトで定義されたすべてのバッチタイプには、対応する [**Project**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/project.md) オブジェクトの [**BatchTypes**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/project.md#batchtypes) プロパティからアクセスできます。

**BatchTypes** オブジェクトは、いわゆる「[接続可能なオブジェクト](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/connectableobjects.md)」です。**BatchTypes** オブジェクトのメソッドは、特別な発信インターフェースを通じて、コレクションの変更に関する情報を通知します。これらのインターフェースは、[**ICollectionEvents**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/icollectionevents.md) (C++ 用) とディスパッチインターフェース [**DICollectionEvents**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/icollectionevents.md) (Visual Basic 用) です。なお、Visual Basic にはイベントを簡単に処理する仕組みが用意されているため、Visual Basic ユーザーはイベントインターフェースの実装の詳細を意識する必要はありません。

## Properties

| **Name** | **型** | **Description** |
| - | - | - |
| [**Count**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/count.md) | [**Integer**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | コレクション内の要素数を格納します。 |
| [**Element**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/element.md) | [**BatchType**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/batchtype.md)、読み取り専用 | コレクション内の 1 つの要素へのアクセスを提供します。 |

## メソッド

| **Name** | **Description** |
| - | - |
| [**AddNew**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/batchtypes-addnew.md) | コレクションの末尾に新しい要素を追加します。 |
| [**Delete**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/delete.md) | コレクションから要素を削除します。 |
| [**DeleteAll**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/deleteall.md) | コレクションからすべての要素を削除します。 |
| [**Item**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/item.md) | コレクションの 1 つの要素にアクセスします。 |

## 関連オブジェクト

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

## サンプル

このオブジェクトは、次のコード サンプルで使用されています：[分類](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/samples.md#classification)

## 関連項目

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

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

[コレクションの操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/collections.md)

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

[接続可能なオブジェクトの使用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/connectableobjects.md)
