Remove 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
Removes objects of type SynonymList from the collection.
Syntax
public void Remove(SynonymList synonymList);Public Sub Remove(synonymList As SynonymList)Parameters
| Parameter | Description |
|---|---|
| synonymList | Specifies the SynonymList. |
Examples
The following example removes the first synonym list when the collection is not empty.
if (synonymListCollection.Count > 0)
{
TXTextControl.Proofing.SynonymList synonymList = synonymListCollection[1];
synonymListCollection.Remove(synonymList);
}If synonymListCollection.Count > 0 Then
Dim synonymList As TXTextControl.Proofing.SynonymList = synonymListCollection.Item(1)
synonymListCollection.Remove(synonymList)
End If