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

### C++

```cpp theme={null}
HRESULT DeleteWords( IStringCollection* Words );
```

### C\#

```csharp theme={null}
HRESULT DeleteWords( IStringCollection Words );
```

### Visual Basic .NET

```vb theme={null}
Sub DeleteWords(Words As IStringsCollection)
```

## Parameters

Words

\[in] This parameter of the [StringsCollection](/fine-reader/engine/api-reference/supplementary-objects-and-methods/stringscollection) type contains the collection of words to be deleted. If any of the deleted words is not present in the dictionary, no error is returned.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## Remarks

To delete a single word or all words from the dictionary, use the [IDictionary::DeleteWord](/fine-reader/engine/api-reference/language-related-objects/dictionary/deleteword-method) or [IDictionary::DeleteAllWords](/fine-reader/engine/api-reference/language-related-objects/dictionary/deleteallwords-method) method, respectively.

## See also

[Dictionary](/fine-reader/engine/api-reference/language-related-objects/dictionary)

[DeleteWord](/fine-reader/engine/api-reference/language-related-objects/dictionary/deleteword-method)

[DeleteAllWords](/fine-reader/engine/api-reference/language-related-objects/dictionary/deleteallwords-method)
