SynonymListCollection Class
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTXSpell. WPF. SDK
- Assembly
TXSpell.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTXSpell. WPF. SDK TXSpell.from the setup.dll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
- Inherits
- Collection
Base - Synonym
List Collection
- Collection
- Implements
- IEnumerable
Description
An instance of the SynonymListCollection class contains all objects of type SynonymList that will be used by the first and second overload of the TXSpell.CreateSynonyms method. It is inherited from the abstract class System.Collections.CollectionBase and implements the System.Collections.IEnumerable and System.Collections.IEnumerator interfaces. For a list of properties, methods and events of these classes and interfaces, please see the .NET Framework reference.
Syntax
public class SynonymListCollection : CollectionBase, IEnumerablePublic Class SynonymListCollection
Inherits CollectionBase
Implements IEnumerableExamples
The following example includes the current value from a Synonym List Collection object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Current: {synonymListCollection.Current}");
Console.WriteLine("Synonym List Collection is ready for use.");Console.WriteLine($"Current: {synonymListCollection.Current}")
Console.WriteLine("Synonym List Collection is ready for use.")Members
Properties
| Property | Description |
|---|---|
| Current | Not described in the reference. public object Current { get; } |
| Item | Gets an object of type SynonymList from the collection. This property is the indexer for the SynonymListCollection class. |