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

# DeleteWords Method of the Dictionary Object

This method deletes a group of words from the dictionary.

## Syntax

```vb Visual Basic .NET theme={null}
Sub DeleteWords(words As StringsCollection)
```

```cpp C++ theme={null}
HRESULT DeleteWords(
  IStringCollection* words
);
```

## Parameters

**words**

\[in] This parameter of the [**StringsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/stringscollection.md) type contains the collection of words to be deleted. If any of the deleted words is not present in the dictionary, no error will occur.

## 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 single word or all words from the dictionary, use the [**IDictionary::DeleteWord**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/dictionary-deleteword.md) or [**IDictionary::DeleteAllWords**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/dictionary-deleteallwords.md) method, respectively.

## See also

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

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

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