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

# EnumDictionaryWords オブジェクトの Next メソッド

このメソッドは、反復処理シーケンスの次の単語を、辞書内でのその単語の重みとともに取得します。

## 構文

```vb Visual Basic .NET theme={null}
Function Next(confidence As Integer) As String
```

```cpp C++ theme={null}
HRESULT Next(
  int*  confidence,
  BSTR* result
);
```

## パラメーター

**confidence**

\[out] このパラメーターは、単語の信頼度を出力するために使用されます。辞書内の単語の信頼度 (重み) は、その単語の優先度を表し、テキスト認識時に単語の候補から選択する際に使用されます。この値が高いほど、その候補が認識済みの単語として優先されます。反復処理が終了すると、このパラメーターには 0 が割り当てられます。

**result**

\[out, retval] このメソッドの戻り値 (辞書内の単語) を受け取る **BSTR** 変数へのポインター。反復処理が終了すると、0 が返されます。

## 戻り値

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

## 関連項目

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