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

# Método FindByName del objeto ClassificationTrainingBatches

Este método permite buscar un lote de la colección por su nombre.

## Sintaxis

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

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

## Parámetros

**Name**

\[in] Esta variable contiene el nombre del lote que se desea buscar.

**Result**

\[out, retval] Puntero a la variable [**IClassificationTrainingBatch**](https://docs.abbyy.com/es/flexi-capture/sdk/api-reference/classificationtrainingbatch.md)\*\*\*\*\* que recibe el puntero de interfaz del lote de entrenamiento. Devuelve NULL si no se encuentra ningún lote con el nombre especificado.

## Valores de retorno

Este método no tiene valores de retorno específicos. Devuelve los [valores de retorno estándar de las funciones de ABBYY FlexiCapture SDK](https://docs.abbyy.com/es/flexi-capture/sdk/api-reference/errorcodes.md).

## Consulte también

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