# MisspelledWord.Number Property

> Gets the number of this misspelled word. All misspelled words are counted from the beginning to the end of a document. The first word has the number 1.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 16.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.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 for Windows Forms > Reference > TXTextControl > MisspelledWord.Number Property
- **515 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/misspelledword/number-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/misspelledword/number-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/misspelledword/number-property/llms-full.txt

---

### Description

Gets the number of this misspelled word. All misspelled words are counted from the beginning to the end of a document. The first word has the number 1.

### Syntax

```csharp
public int Number { get; }
```

```vbnet
Public ReadOnly Property Number As Integer
```

### Examples

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

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

Console.WriteLine($"Number: {misspelledWord.Number}");
Console.WriteLine("Misspelled Word is ready for use.");
```

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

Console.WriteLine($"Number: {misspelledWord.Number}")
Console.WriteLine("Misspelled Word is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [MisspelledWord.Length Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/misspelledword/length-property/llms-full.txt)
- **Next:** [MisspelledWord.Select Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/misspelledword/select-method/llms-full.txt)
