# Synonym Class

> The Synonym class represents a synonym for a specific word or phrase.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 7.0
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WPF.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 WPF > Reference > TXTextControl.Proofing > Synonym Class
- **439 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/synonym/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/synonym/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/synonym/llms-full.txt

---

### Description

The Synonym class represents a synonym for a specific word or phrase.

### Syntax

```csharp
public class Synonym
```

```vbnet
Public Class Synonym
```

### Examples

The following example includes the id value from a Synonym object in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"ID: {synonym.ID}");
Console.WriteLine("Synonym is ready for use.");
```

```vbnet
Console.WriteLine($"ID: {synonym.ID}")
Console.WriteLine("Synonym is ready for use.")
```

---

## In This Section

- [Synonym.ID Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/synonym/id-property/llms-full.txt): Gets the lowercased identifier that represents the synonym inside the corresponding synonym list.
- [Synonym.Name Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/synonym/name-property/llms-full.txt): Gets the synonym's name which is the case sensitive equivalent to the Synonym.ID property.
- [Synonym.Text Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/synonym/text-property/llms-full.txt): Gets the synonym's text which is composed of the synonym's name and optional additional information.

---

## Nearby

- **Previous:** [SuggestionCollection.Item Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/suggestioncollection/item-method/llms-full.txt)
- **Next:** [Synonym.ID Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/synonym/id-property/llms-full.txt)
