# TXSpell.Suggestions Property

> Gets a collection of suggestions that were created by the last call of the TXSpell.CreateSuggestions method. The property's value is an object of type SuggestionCollection.

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

---

### Description

Gets a collection of suggestions that were created by the last call of the [TXSpell.CreateSuggestions](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell/createsuggestions-method/llms-full.txt) method. The property's value is an object of type [SuggestionCollection](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestioncollection/llms-full.txt).

### Syntax

```csharp
public SuggestionCollection Suggestions { get; }
```

```vbnet
Public ReadOnly Property Suggestions As SuggestionCollection
```

### Examples

The following example iterates through the suggestions collection and processes each suggestion.

```csharp
foreach (TXTextControl.Proofing.Suggestion suggestion in tXSpell.Suggestions)
{
    Console.WriteLine(suggestion.Text);
}
```

```vbnet
For Each suggestion As TXTextControl.Proofing.Suggestion In tXSpell.Suggestions
    Console.WriteLine(suggestion.Text)
Next
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [TXSpell.SpellingCorrectionUIProvider Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell/spellingcorrectionuiprovider-property/llms-full.txt)
- **Next:** [TXSpell.SynonymLanguage Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell/synonymlanguage-property/llms-full.txt)
