Initializes a new instance of the UserDictionary class.

UserDictionary()

public UserDictionary();
Public Sub New()

UserDictionary(String)

public UserDictionary(string userDictionaryPath);
Public Sub New(userDictionaryPath As String)

UserDictionary(String[], System.Globalization.CultureInfo)

public UserDictionary(string[] dictionaryLines, System.Globalization.CultureInfo language);
Public Sub New(dictionaryLines As String(), language As System.Globalization.CultureInfo)

Parameters

Parameter Description
userDictionaryPath Specifies the path of the user dictionary file. Using the dictionary name without any file path, the corresponding dictionary file in the default dictionary folder is used. The name of the specified user dictionary file must end with ".txd". If the file does not exist, or if it is not valid, an ArgumentException is thrown.
dictionaryLines The string array that represents the content of a user dictionary file. Each string of the array IS considered as a line of the dictionary file.
language Specifies the language of the dictionary.