# TXSpellChecker.IncorrectWords Property

> Gets a collection of all incorrect words that were detected by the last call of the TXSpellChecker.Check method. The property's value is an object of type IncorrectWordCollection.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WinForms.SDK` (assembly `TXSpell.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.Windows.Forms.dll` from the setup
- **Path:** TX Spell .NET for Windows Forms > Reference > TXTextControl.Proofing > TXSpellChecker.IncorrectWords Property
- **407 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/incorrectwords-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/incorrectwords-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/incorrectwords-property/llms-full.txt

---

### Description

Gets a collection of all incorrect words that were detected by the last call of the [TXSpellChecker.Check](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/check-method/llms-full.txt) method. The property's value is an object of type [IncorrectWordCollection](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/incorrectwordcollection/llms-full.txt).

### Syntax

```csharp
public IncorrectWordCollection IncorrectWords { get; }
```

```vbnet
Public ReadOnly Property IncorrectWords As IncorrectWordCollection
```

### Examples

The following example iterates through the incorrect words collection and processes each incorrect word.

```csharp
foreach (TXTextControl.Proofing.IncorrectWord incorrectWord in tXSpellChecker.IncorrectWords)
{
    Console.WriteLine(incorrectWord.IsDuplicate);
}
```

```vbnet
For Each incorrectWord As TXTextControl.Proofing.IncorrectWord In tXSpellChecker.IncorrectWords
    Console.WriteLine(incorrectWord.IsDuplicate)
Next
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [TXSpellChecker.IncorrectWordChanging Event](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/incorrectwordchanging-event/llms-full.txt)
- **Next:** [TXSpellChecker.Language Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/language-property/llms-full.txt)
