[]
        
(Showing Draft Content)

C1.Win.C1SpellChecker.SpellDictionaryBase.GetFileName

GetFileName Method

GetFileName(bool)

Gets the fully qualified name of the file that contains the dictionary.

Declaration
protected virtual string GetFileName(bool mustExist)
Parameters
Type Name Description
bool mustExist

Whether to return a filename even if the file doesn't exist.

Returns
Type Description
string

A complete file name which is guaranteed to exist, or an empty string if the file name was not specified or could not be found.

Remarks

If the path is not specified, the component looks for it in the application folder, in the folder where the C1SpellChecker assembly is installed, and in the system folder.