Add Method
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
Description
Adds objects of the type HyphenationList to the collection.
Syntax
public int Add(HyphenationList hyphenationList);Public Function Add(hyphenationList As HyphenationList) As IntegerParameters
| Parameter | Description |
|---|---|
| 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}");Dim result = hyphenationListCollection.Add(New TXTextControl.Proofing.HyphenationList("document.docx"))
Console.WriteLine($"Add result: {result}")