Suggestion Class
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTXSpell. WinForms. SDK
- Assembly
TXSpell.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTXSpell. WinForms. SDK TXSpell.from the setup.dll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
- Implements
- IComparable<Suggestion>
Description
The Suggestion class represents a suggestion for a specific text.
Syntax
public sealed class Suggestion : IComparable<Suggestion>Public NotInheritable Class Suggestion
Implements IComparable(Of Suggestion)Examples
The following example includes the text value from a Suggestion object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Text: {suggestion.Text}");
Console.WriteLine("Suggestion is ready for use.");Console.WriteLine($"Text: {suggestion.Text}")
Console.WriteLine("Suggestion is ready for use.")Members
Properties
| Property | Description |
|---|---|
| Text | Gets the suggestion text for a specific word. |
Methods
| Method | Description |
|---|---|
| CompareTo | Not described in the reference. public int CompareTo(Suggestion obj); |