TX Spell .NET for WPF

Item Method

Method|Introduced in 7.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WPF.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 object of type SynonymList from the collection. This property is the indexer for the SynonymListCollection class.

Syntax

public SynonymList this[int number] { get; }

Return Value

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