# IncorrectWordChangingEventArgs.WillBeDuplicate Property

> Gets a value specifying whether replacing the text of the current incorrect word would result in a conversion to a duplicate incorrect word.

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

---

### Description

Gets a value specifying whether [replacing the text](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/incorrectwordchangingeventargs/correctedword-property/llms-full.txt) of the current [incorrect word](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/incorrectwordchangingeventargs/incorrectword-property/llms-full.txt) would result in a conversion to a [duplicate incorrect word](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/incorrectword/isduplicate-property/llms-full.txt).

### Syntax

```csharp
public bool WillBeDuplicate { get; }
```

```vbnet
Public ReadOnly Property WillBeDuplicate As Boolean
```

### Examples

The following example checks the will be duplicate state before recording the object's current status.

```csharp
if (incorrectWordChangingEventArgs.WillBeDuplicate)
{
    Console.WriteLine("Incorrect Word Changing Event Args is ready for this operation.");
}
```

```vbnet
If incorrectWordChangingEventArgs.WillBeDuplicate Then
    Console.WriteLine("Incorrect Word Changing Event Args is ready for this operation.")
End If
```

### Limitations

Read only.

### Remarks

This property returns an exception, if the current [IncorrectWordChangingEventArgs.Type](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/incorrectwordchangingeventargs/type-property/llms-full.txt) property is not type of [Replace](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell-changetype/enumeration/llms-full.txt).

---

## Nearby

- **Previous:** [IncorrectWordChangingEventArgs.Type Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/incorrectwordchangingeventargs/type-property/llms-full.txt)
- **Next:** [IncorrectWordCollection Class](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/incorrectwordcollection/llms-full.txt)
