TX Spell .NET for Windows Forms

Add Method

Method|Introduced in 4.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

Adds objects of the type HyphenationList to the collection.

Syntax

public int Add(HyphenationList hyphenationList);

Parameters

ParameterDescription
hyphenationList

Specifies the HyphenationList.

Return Value

The collection index at which the HyphenationList has been added.

Examples

The following example adds an item to the hyphenation list collection.

var result = hyphenationListCollection.Add(new TXTextControl.Proofing.HyphenationList("document.docx"));
Console.WriteLine($"Add result: {result}");