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

# EnumWords Method of the Dictionary Object

This method returns an object of the [**EnumDictionaryWords**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/enumdictionarywords.md) type that allows you to iterate through the words in the dictionary. This method makes a copy of the dictionary, and thus all the modifications that are performed upon the dictionary after getting the **EnumDictionaryWords** object do not affect the latter. That is, if a word is added to the dictionary after the **EnumDictionaryWords** object was received for it, this word will not be included into iteration.

## Syntax

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

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

## Parameters

**result**

\[out, retval] A pointer to the **IEnumDictionaryWords\*** pointer variable that receives the interface pointer to the returned [**EnumDictionaryWords**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/enumdictionarywords.md) object. Must not be NULL.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

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