TX Spell .NET for Windows Forms

Item Method

Method
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TXSpell.Core.SDK as TXSpell.dll

Description

Gets an incorrect word from the collection. This property is the indexer for the IncorrectWordCollection class.

Syntax

public IncorrectWord this[int number] { get; }

Return Value

The object of type IncorrectWord at the specified index.

Examples

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

Console.WriteLine($"Item: {incorrectWordCollection[10]}");
Console.WriteLine("Incorrect Word Collection is ready for use.");