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 a suggestion from the collection. This property is the indexer for the SuggestionCollection class.

Syntax

public Suggestion this[int number] { get; }

Return Value

The object of the type Suggestion 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: {suggestionCollection[10]}");
Console.WriteLine("Suggestion Collection is ready for use.");