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

# IErrorControl

> IErrorControl は、FlexiCapture のエラーウィンドウの一覧内の 1 つのエントリを表します。エラーテキスト、型、warning フラグ、およびそのエラーに関連する fields を読み取ることができます。

<div id="what-it-does">
  ## 概要
</div>

[IErrorsWindow](/ja/flexi-capture/appendix/scripts-shell/ierrorswindow) リストの項目を表します。

<div id="methods">
  ## メソッド
</div>

| **定義**                                                                     | **説明**                             |
| -------------------------------------------------------------------------- | ---------------------------------- |
| Field( index : int ) : [IField](/ja/flexi-capture/appendix/scripts/ifield) | エラーの index で、エラーに関連する field を取得します |

<div id="properties">
  ## プロパティ
</div>

| **名前**      | **型**                                                             | **アクセス** | **説明**                                                                               |
| ----------- | ----------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------ |
| Error       | string                                                            | 読み取り専用   | エラーのテキスト                                                                             |
| FieldsCount | int                                                               | 読み取り専用   | エラーに関連する fields の数                                                                   |
| Index       | int                                                               | 読み取り専用   | [IErrorsWindow](/ja/flexi-capture/appendix/scripts-shell/ierrorswindow) 内のエラーのインデックス |
| IsWarning   | bool                                                              | 読み取り専用   | エラーが警告かどうかを示します                                                                      |
| Type        | [TErrorType](/ja/flexi-capture/appendix/scripts-shell/terrortype) | 読み取り専用   | エラーの種類                                                                               |
