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

# FieldsExtractionTrainingBatch オブジェクトの Rename メソッド

このメソッドはバッチ名を変更し、新しい名前を返します。既存の名前を指定した場合などは、名前が変更されないことがあります。

## 構文

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

```cpp C++ theme={null}
HRESULT AddNew(
  BSTR         Name,
  BSTR*        ResultName
);
```

## パラメーター

**Name**

\[in] 学習用バッチの新しい名前。

**ResultName**

\[out, retval] バッチの新しい名前を受け取る string 変数へのポインター。

## 戻り値

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

## 関連項目

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