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

# FieldValue オブジェクト（IFieldValue インターフェイス）

このオブジェクトは、field の認識済みの値を表します。値にはデータが格納されており、そのデータの型は **Type** プロパティで定義されます。特定の field の値には、[**Field**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/field.md) オブジェクトの [**Value**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/field.md#value) プロパティからアクセスできます。

## Properties

| **名前** | **型** | **説明** |
| - | - | - |
| **AsBoolean** | [**Boolean**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md) | ブール型の値を格納します。このプロパティは、**Type** プロパティの値が FVT\_Boolean の場合にのみ使用できます。 |
| **AsChoice** | [**FieldChoiceValue**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldchoicevalue.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | field の選択値を格納します。このプロパティは、**Type** プロパティの値が FVT\_Choice の場合にのみ使用できます。 |
| **AsDateTime** | **DATE** | 日付と時刻の値を格納します。このプロパティは、**Type** プロパティの値が FVT\_DateTime の場合にのみ使用できます。 |
| **AsDouble** | [**Double**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md) | double 値を格納します。このプロパティは、**Type** プロパティの値が FVT\_Number の場合にのみ使用できます。 |
| **AsInteger** | [**\_\_int64**](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md) | 整数値を格納します。このプロパティは、**Type** プロパティの値が FVT\_Number の場合にのみ使用できます。 |
| **AsPicture** | [**FieldPictureValue**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldpicturevalue.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | field の画像値を格納します。このプロパティは、**Type** プロパティの値が FVT\_Picture の場合にのみ使用できます。 |
| **AsString** | [**String**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | 値を文字列形式で格納します。 |
| **AsText** | [**Text**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/text.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | テキスト値を格納します。このプロパティは、**Type** プロパティの値が FVT\_Text、FVT\_DateTime、FVT\_Number、FVT\_Currency のいずれかの場合にのみ使用できます。 |
| **Errors** | [**StringsCollection**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/stringscollection.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | field ルールの適用時に発生したエラーを格納します。 |
| **IsSuspicious** | [**Boolean**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | field 値の認識結果が不確実かどうかを示します。 |
| **IsValid** | [**Boolean**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | field 値が有効かどうか (型が正しいかどうか) を示します。 |
| **IsVerified** | [**Boolean**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | field 値が検証済みかどうかを示します。このプロパティは直接変更できません。変更するには [**SetVerified**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue-setverified.md) メソッドを使用します。 |
| **NeedsVerification** | [**Boolean**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | field 値の検証が必要かどうかを示します。 |
| **Type** | [**FieldValueTypeEnum**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvaluetypeenum.md)、読み取り専用 | field 値の型を返します。 |
| **Warnings** | [**StringsCollection**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/stringscollection.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | 認識時および field ルールの適用時に発生した警告を格納します。 |

## メソッド

| **名前** | **説明** |
| - | - |
| [**SetVerified**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue-setverified.md) | **IsVerified** プロパティを TRUE に設定します。 |

## 関連オブジェクト

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

## 出力パラメーター

このオブジェクトは、[**FieldValuesCollection**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvaluescollection.md) オブジェクトの [**Item**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/item.md) メソッドの出力パラメーターです。

## 入力パラメーター

このオブジェクトは、[**FieldValuesCollection**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvaluescollection.md) オブジェクトの [**Add**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/add.md) メソッドの入力パラメーターです。

## 関連項目

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

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

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

[**IPage::KeyValue**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/page.md#keyvalue)

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