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

> ABBYY FineReader Engine API の Dictionary オブジェクトの DeleteWords メソッド。辞書から単語のコレクションを削除します。

このメソッドは、辞書から単語のグループを削除します。

<div id="syntax">
  ## 構文
</div>

<div id="c">
  ### C++
</div>

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

### C\#

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

<div id="visual-basic-net">
  ### Visual Basic .NET
</div>

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

<div id="parameters">
  ## パラメーター
</div>

Words

\[in] この [StringsCollection](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/stringscollection) 型のパラメーターには、削除する単語のコレクションを指定します。削除対象の単語のいずれかが辞書に存在しない場合でも、エラーは返されません。

<div id="return-values">
  ## 戻り値
</div>

このメソッドに固有の戻り値はありません。[ABBYY FineReader Engine 関数の標準的な戻り値](/ja/fine-reader/engine/api-reference/return-codes)が返されます。

<div id="remarks">
  ## 注記
</div>

辞書から単語を1つ削除する場合は [IDictionary::DeleteWord](/ja/fine-reader/engine/api-reference/language-related-objects/dictionary/deleteword-method) メソッドを、すべての単語を削除する場合は [IDictionary::DeleteAllWords](/ja/fine-reader/engine/api-reference/language-related-objects/dictionary/deleteallwords-method) メソッドを使用します。

<div id="see-also">
  ## 関連項目
</div>

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

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

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