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

# ConfusionMatrix オブジェクトの Element プロパティ

このプロパティは、混同行列で選択されたセル内の要素を、インデックスを指定して返します。列 A、行 B にある要素の値は、実際にはカテゴリ B に属するにもかかわらず、カテゴリ A に分類されたページの数を示します。A と B が同じ場合、その値はそのカテゴリに正しく割り当てられた結果の数になります。

## 構文

```vb Visual Basic .NET theme={null}
Property Element( _
  KnownIndex As Integer, _
  FoundIndex As Integer _
) As Integer
```

```cpp C++ theme={null}
HRESULT Element(
  int  KnownIndex,
  int  FoundIndex,
  int* Result
);
```

## パラメーター

**KnownIndex**

\[in] 要素が属するクラスのインデックス。

**FoundIndex**

\[in] 分類器が検出したクラスのインデックス。

**Result**

\[out, retval] 行列のセルの値を受け取る整数型の変数。あるクラスに属しているにもかかわらず、別のクラスに分類されたページの数が格納されます。

## 戻り値

この関数には固有の戻り値はありません。[標準の戻り値](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/errorcodes.md)を返します。

## 関連項目

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