# SpellingCorrectionUIProvider.SuggestionDictionariesHandler.SuggestionDictionaries Property

> Gets an array of suggestion dictionaries where the dictionary's language equals to the language of the current word to correct. This property is redetermined on every change of the CurrentWordToCorrect property and lead to an update of the SelectedSuggestionDictionaries property.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 6.0
- **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 > SpellingCorrectionUIProvider.SuggestionDictionariesHandler.SuggestionDictionaries Property
- **647 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/suggestiondictionaries-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/suggestiondictionaries-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/suggestiondictionaries-property/llms-full.txt

---

### Description

Gets an array of [suggestion](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestion/llms-full.txt) [dictionaries](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/llms-full.txt) where the [dictionary's language](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/language-property/llms-full.txt) equals to the language of the [current word to correct](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/currentwordtocorrect-property/llms-full.txt). This property is redetermined on every change of the CurrentWordToCorrect property and lead to an update of the [SelectedSuggestionDictionaries](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/selectedsuggestiondictionaries-property/llms-full.txt) property.

### Syntax

```csharp
public Dictionary[] SuggestionDictionaries { get; }
```

```vbnet
Public ReadOnly Property SuggestionDictionaries As Dictionary()
```

### Examples

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

```csharp
foreach (TXTextControl.Proofing.Dictionary dictionary in suggestionDictionariesHandler.SuggestionDictionaries)
{
    dictionary.Name = "CustomerName";
}
```

```vbnet
For Each dictionary As TXTextControl.Proofing.Dictionary In suggestionDictionariesHandler.SuggestionDictionaries
    dictionary.Name = "CustomerName"
Next
```

### Limitations

Read only.

### Remarks

This property only returns an array of suggestion dictionaries if the [SpellingCorrectionUIProvider's mode](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/mode-property/llms-full.txt) is set to [SuggestionsCreated](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell-spellingcorrectionmode/enumeration/llms-full.txt), [NoSuggestionsCreated](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell-spellingcorrectionmode/enumeration/llms-full.txt), [WordToCorrectIsDuplicate](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell-spellingcorrectionmode/enumeration/llms-full.txt) or [WordToCorrectEditing](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell-spellingcorrectionmode/enumeration/llms-full.txt).

---

## Nearby

- **Previous:** [SpellingCorrectionUIProvider.SuggestionDictionariesHandler.SelectedSuggestionDictionaries Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/selectedsuggestiondictionaries-property/llms-full.txt)
- **Next:** [SpellingCorrectionUIProvider.SuggestionDictionariesHandling Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/suggestiondictionarieshandling-property/llms-full.txt)
