> ## 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éthode FindById de l'objet ClassificationTrainingBatches

Cette méthode permet de rechercher un lot de la collection par son identifiant.

## Syntaxe

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

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

## Paramètres

**Id**

\[in] Cette variable contient l’identifiant du lot à rechercher.

**Result**

\[out, retval] Pointeur vers la variable [**IClassificationTrainingBatch**](https://docs.abbyy.com/fr/flexi-capture/sdk/api-reference/classificationtrainingbatch.md)\*\*\*\*\* qui reçoit le pointeur d’interface du lot d’entraînement. Renvoie NULL si aucun lot ne correspond à l’identifiant spécifié.

## Valeurs de retour

Cette méthode n'a pas de valeurs de retour spécifiques. Elle renvoie les [valeurs de retour standard des fonctions du SDK ABBYY FlexiCapture](https://docs.abbyy.com/fr/flexi-capture/sdk/api-reference/errorcodes.md).

## Voir aussi

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