# MisspelledWord.IsDuplicate Property

> Gets or sets a value which marks the misspelled word as duplicate. A duplicate word is not misspelled, but it has the same text as the word in front of it.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 18.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > MisspelledWord.IsDuplicate Property
- **483 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/misspelledword/isduplicate-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/misspelledword/isduplicate-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/misspelledword/isduplicate-property/llms-full.txt

---

### Description

Gets or sets a value which marks the misspelled word as duplicate. A duplicate word is not misspelled, but it has the same text as the word in front of it.

### Syntax

```csharp
public bool IsDuplicate { get; set; }
```

```vbnet
Public Property IsDuplicate As Boolean
```

### Examples

The following example locates the first spelling issue in a short document by using `MisspelledWord.IsDuplicate`.

```csharp
textControl.Text = "The quaterly report is ready.";
MisspelledWord misspelledWord = textControl.MisspelledWords.GetItem();
if (misspelledWord == null)
{
    return;
}

misspelledWord.IsDuplicate = true;
misspelledWord.Select();
```

```vbnet
textControl.Text = "The quaterly report is ready."
Dim misspelledWord As MisspelledWord = textControl.MisspelledWords.GetItem()
If misspelledWord Is Nothing Then
    Return
End If

misspelledWord.IsDuplicate = True
misspelledWord.Select()
```

---

## Nearby

- **Previous:** [MisspelledWord.Culture Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/misspelledword/culture-property/llms-full.txt)
- **Next:** [MisspelledWord.IsIgnored Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/misspelledword/isignored-property/llms-full.txt)
