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

# RuleErrors オブジェクト（IRuleErrors インターフェイス）

このオブジェクトは、[ルールエラー](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/ruleerror.md)のコレクションを表します。特定のドキュメントのエラーにアクセスするには、対応する [**Document**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/document.md) オブジェクトの [**RuleErrors**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/document.md#ruleerrors) プロパティを使用します。

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

## メソッド

| **名前** | **説明** |
| - | - |
| [**Item**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/item.md) | コレクション内の 1 つの要素にアクセスします。 |

## 関連オブジェクト

![](https://mintcdn.com/abbyy/DG4YBah30S0eFFo5/images/flexi-capture/sdk/RuleErrors.gif?s=e68565810a9928ceacfbf95f8f63090b)

## 関連項目

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