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

# Fields オブジェクト（IFields インターフェース）

このオブジェクトは、認識済みの [field](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/field.md) のコレクションです。ドキュメント セクションのコレクションの場合もあれば、複合 field の子 field のコレクションの場合もあります。

> [!NOTE]
>
> ドキュメントの認識データを扱う際は、ドキュメントが複雑なツリー構造を持つ場合があることを考慮する必要があります。ドキュメントはセクションで構成され、セクションには field および field グループが含まれます。また、これらはいずれも繰り返し要素 (複数のインスタンスを含む) となる場合があります。詳細については、[認識データの操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/workingwithrecognizeddata.md)を参照してください。

このオブジェクトには、標準的なコレクションのメソッドとPropertiesに加えて、名前で field を検索できる **FindByName** メソッドがあります。

**Fields** オブジェクトは、いわゆる「[接続可能なオブジェクト](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/connectableobjects.md)」です。**Fields** オブジェクトのメソッドは、特別な発信インターフェースを介して、コレクションの変更に関する情報を通知します。これらのインターフェースは、[**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** |
| - | - |
| [**FindByName**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fields-findbyname.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/Fields.gif?s=7aa6be2b0834a3ba8666493601f6c09c)

## 関連項目

[認識データの操作](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)

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