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

In This Topic
    GetFileName Method (UserDictionary)
    In This Topic
    Gets the fully qualified name of the file that contains the user dictionary.
    Syntax
    'Declaration
     
    Protected Overrides Function GetFileName( _
       ByVal mustExist As System.Boolean _
    ) As System.String
    protected override 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 local user application data path (a location that supports read-write operations).
    See Also