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

# DeleteAllWords Method of the Dictionary Object

This method deletes all words from the dictionary.

## Syntax

```vb Visual Basic .NET theme={null}
Sub DeleteAllWords()
```

```cpp C++ theme={null}
HRESULT DeleteAllWords();
```

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

## Remarks

To delete a group of words or a single word from the dictionary, use the [**IDictionary::DeleteWords**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/dictionary-deletewords.md) or [**IDictionary::DeleteWord**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/dictionary-deleteword.md) method, respectively.

## See also

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

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

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