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

# Dictionary オブジェクトの EnumWords メソッド

このメソッドは、辞書内の単語を反復処理するための [**EnumDictionaryWords**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/enumdictionarywords.md) 型のオブジェクトを返します。このメソッドは辞書のコピーを作成するため、**EnumDictionaryWords** オブジェクトの取得後に辞書に加えた変更は、このオブジェクトには反映されません。つまり、辞書の **EnumDictionaryWords** オブジェクトを取得した後でその辞書に単語を追加しても、その単語は反復処理の対象になりません。

## 構文

```vb Visual Basic .NET theme={null}
Function EnumWords() As EnumDictionaryWords
```

```cpp C++ theme={null}
HRESULT EnumWords(
  IEnumDictionaryWords** result
);
```

## パラメーター

**result**

\[out, retval] 返される [**EnumDictionaryWords**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/enumdictionarywords.md) オブジェクトへのインターフェースポインターを受け取る **IEnumDictionaryWords**\* ポインター変数へのポインター。NULL は指定できません。

## 戻り値

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

## 関連項目

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