> ## 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 オブジェクトの ElementEx プロパティ

このプロパティは、クラス名で指定した混同行列の要素を返します。

## 構文

```vb Visual Basic .NET theme={null}
Property Element( _
  KnownClass As String, _
  FoundClass As String _
) As Integer
```

```cpp C++ theme={null}
HRESULT Element(
  BSTR  KnownClass,
  BSTR  FoundClass,
  int*  Result
);
```

## パラメーター

**KnownClass**

\[in] 要素が属するクラスの名前。

**FoundClass**

\[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)
