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

# RegistrationParameters オブジェクトの AddNew メソッド

このメソッドは、新しい [**RegistrationParameter**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/registrationparameter.md) オブジェクトを作成し、コレクションの末尾に追加します。

## 構文

```vb Visual Basic .NET theme={null}
Function AddNew( _
  Name As String, _
  Value As String)
As RegistrationParameter
```

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

## パラメーター

**Name**

\[in] 新しい登録パラメーターの名前を指定します。

**Value**

\[in] 新しい登録パラメーターの値を指定します。

**Result**

\[out, retval] 追加された [**RegistrationParameter**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/registrationparameter.md) オブジェクトのインターフェースポインターを受け取る **IRegistrationParameter**\* ポインター変数へのポインター。

## 戻り値

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

## 関連項目

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

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