TXTextControl.Proofing.SynonymList Constructor

Initializes a new instance of the SynonymList class.

Syntax

[C#]
public SynonymList(string synonymListPath);
[Visual Basic]
Public Sub New(synonymListPath As String)
Parameter Description
synonymListPath

Specifies the path for the thesaurus dat file. By only specifying the synonym list name without any file path, the corresponding thesaurus file of the default synonym lists folder is used. The name of the specified thesaurus file must begin with "th_" or "thes_" and end with ".dat" or ".idx". If the file does not exist, an ArgumentException is thrown.