TX Spell .NET for Windows Forms

HyphenationListCollection Class

Class|Introduced in 4.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXSpell.dll
Install
dotnet add package TXTextControl.TXSpell.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXSpell.dll from the setup.
Also in
TXTextControl.TXSpell.Core.SDK as TXSpell.dll
Inherits
  1. CollectionBase
  2. HyphenationListCollection
Implements
IEnumerable, IEnumerator

Description

An instance of the HyphenationListCollection class contains all objects of type HyphenationList that can be used to create hyphenations. 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 see the .NET Framework reference.

Syntax

public sealed class HyphenationListCollection : CollectionBase, IEnumerable, IEnumerator

Examples

The following example includes the current value from a Hyphenation List Collection object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Current: {hyphenationListCollection.Current}");
Console.WriteLine("Hyphenation List Collection is ready for use.");

Members

Properties

PropertyDescription
CurrentNot described in the reference. public object Current { get; }
ItemGets an object of type HyphenationList from the collection. This property is the indexer for the HyphenationListCollection class.

Methods

MethodDescription
AddAdds objects of the type HyphenationList to the collection.
GetItemGets a particular HyphenationList from the collection by using the specified name.
MoveNextNot described in the reference. public bool MoveNext();
RemoveRemoves objects of the type HyphenationList from the collection.
RemoveAtNot described in the reference. public void RemoveAt(int index);
ResetNot described in the reference. public void Reset();