TX Spell .NET for Windows Forms

PartOfSpeech Property

Property|Introduced in 7.0
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 the part of speech or other meaning specific description for this SynonymGroup. If no such value is defined by the corresponding SynonymList, the property returns null.

Syntax

public string PartOfSpeech { get; }

Examples

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

Console.WriteLine($"Part Of Speech: {synonymGroup.PartOfSpeech}");
Console.WriteLine("Synonym Group is ready for use.");

Limitations

Read only.