Item Method
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK 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; }Default Public ReadOnly Property Item(number As Integer) As SuggestionReturn 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.");Console.WriteLine($"Item: {suggestionCollection.Item(10)}")
Console.WriteLine("Suggestion Collection is ready for use.")