> ## 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 オブジェクトの FindByName メソッド

このメソッドは、コレクション内のバッチを名前で検索します。

## 構文

```vb Visual Basic .NET theme={null}
Function FindByName(Name As String) As ClassificationTrainingBatch
```

```cpp C++ theme={null}
HRESULT FindByName(
  BSTR                           Name,
  IClassificationTrainingBatch** Result
);
```

## パラメーター

**Name**

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