# TXSpell.AvailableSynonymLists Property

> Gets a list of all available synonym lists of the default synonym lists folder.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 7.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 > TXSpell.AvailableSynonymLists Property
- **353 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell/availablesynonymlists-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell/availablesynonymlists-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell/availablesynonymlists-property/llms-full.txt

---

### Description

Gets a list of all available synonym lists of the default synonym lists folder.

### Syntax

```csharp
public string[] AvailableSynonymLists { get; }
```

```vbnet
Public ReadOnly Property AvailableSynonymLists As String()
```

### Examples

The following example iterates through the available synonym lists collection and processes each string.

```csharp
foreach (string text in tXSpell.AvailableSynonymLists)
{
    Console.WriteLine(text.Length);
}
```

```vbnet
For Each text As String In tXSpell.AvailableSynonymLists
    Console.WriteLine(text.Length)
Next
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [TXSpell.AvailableHyphenationLists Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell/availablehyphenationlists-property/llms-full.txt)
- **Next:** [TXSpell.ButtonType Enumeration](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell-buttontype/enumeration/llms-full.txt)
