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

# FieldInstances オブジェクト（IFieldInstances インターフェース）

このオブジェクトは、fieldのインスタンスのコレクションです。***fieldのインスタンス***とは、フォーム内に複数回出現し、同一オブジェクトの複数の候補 (1 人の人物が持つ複数の電話番号や住所、1 枚の送り状に含まれる複数の表の行など) を表すfieldです。複数のインスタンスを持つfieldを使用すると、互いに関連のない同一のfieldを複数用意しなくても、関連するデータを結び付けることができます。

どのfieldも複数のインスタンスを持つことができます。各インスタンスの領域は互いに離れた位置にあっても、別々のページにあってもかまいません。fieldのインスタンスはすべて同じプロパティを持ちます。詳細については、[認識データの操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/workingwithrecognizeddata.md)を参照してください。

特定のfieldのインスタンスにアクセスするには、対応する [**Field**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/field.md) オブジェクトの [**Instances**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/field.md#instances) プロパティを使用します。

**FieldInstances** オブジェクトは、いわゆる「[接続可能なオブジェクト](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/connectableobjects.md)」です。**FieldInstances** オブジェクトのメソッドは、専用の発信インターフェースを通じて、コレクションの変更に関する情報を通知します。これらのインターフェースは、[**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) | [**Field**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/field.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | コレクションの 1 つの要素にアクセスできます。 |

## メソッド

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

## 関連オブジェクト

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

## 関連項目

[認識データの操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/workingwithrecognizeddata.md)

[**Field**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/field.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)

[プロパティの操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md)
