ComponentOne SpellChecker for WinForms
C1.Win.C1SpellChecker.4.5.2 Assembly / C1.Win.C1SpellChecker Namespace / SpellDictionaryBase Class / GetFileName Method
Whether to return a filename even if the file doesn't exist.

In This Topic
    GetFileName Method (SpellDictionaryBase)
    In This Topic
    Gets the fully qualified name of the file that contains the dictionary.
    Syntax
    'Declaration
     
    Protected Overridable Function GetFileName( _
       ByVal mustExist As System.Boolean _
    ) As System.String
    protected virtual System.string GetFileName( 
       System.bool mustExist
    )

    Parameters

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

    Return Value

    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.
    See Also