Initializes a new instance of the SynonymList class.

SynonymList(String)

public SynonymList(string synonymListPath);
Public Sub New(synonymListPath As String)

Parameters

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.