Add Method
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
Description
Adds objects of type SynonymList to the collection.
Syntax
public int Add(SynonymList synonymList);Public Function Add(synonymList As SynonymList) As IntegerParameters
| Parameter | Description |
|---|---|
| synonymList | Specifies the SynonymList. |
Return Value
The collection index where the SynonymList has been added.
Examples
The following example adds an item to the synonym list collection.
var result = synonymListCollection.Add(new TXTextControl.Proofing.SynonymList("document.docx"));
Console.WriteLine($"Add result: {result}");Dim result = synonymListCollection.Add(New TXTextControl.Proofing.SynonymList("document.docx"))
Console.WriteLine($"Add result: {result}")