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

# ClassificationTrainingBatches オブジェクトの FindById メソッド

このメソッドを使用すると、識別子でコレクション内のバッチを検索できます。

## 構文

```vb Visual Basic .NET theme={null}
Function FindById(Id As Integer) As ClassificationTrainingBatch
```

```cpp C++ theme={null}
HRESULT FindById(
  int                            Id,
  IClassificationTrainingBatch** Result
);
```

## パラメーター

**Id**

\[in] この変数には、検索対象のバッチの識別子が格納されます。

**Result**

\[out, retval] 学習用バッチのインターフェースポインターを受け取る [**IClassificationTrainingBatch**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/classificationtrainingbatch.md)\*\*\*\*\* 変数へのポインター。指定した識別子を持つバッチが見つからない場合は NULL を返します。

## 戻り値

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

## 関連項目

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