> ## 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 オブジェクトの DeleteAllWords メソッド

このメソッドは、辞書からすべての単語を削除します。

## 構文

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

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

## 戻り値

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

## 解説

辞書から複数の単語をまとめて削除するには [**IDictionary::DeleteWords**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/dictionary-deletewords.md) メソッドを、単一の単語を削除するには [**IDictionary::DeleteWord**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/dictionary-deleteword.md) メソッドを使用します。

## 関連項目

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

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

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