# SpelledWord.Index Property

> Gets the index of the spelled word to the corresponding collection. The first word has the index 0.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 3.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 > SpelledWord.Index Property
- **332 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/index-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/index-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/index-property/llms-full.txt

---

### Description

Gets the index of the [spelled word](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/llms-full.txt) to the corresponding [collection](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/incorrectwordcollection/llms-full.txt). The first word has the index 0.

### Syntax

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

```vbnet
Public ReadOnly Property Index As Integer
```

### Examples

The following example includes the index value in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Index: {spelledWord.Index}");
Console.WriteLine("Spelled Word is ready for use.");
```

```vbnet
Console.WriteLine($"Index: {spelledWord.Index}")
Console.WriteLine("Spelled Word is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [SpelledWord Class](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/llms-full.txt)
- **Next:** [SpelledWord.Length Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/length-property/llms-full.txt)
