RichTextBox for WPF | ComponentOne
C1.WPF.SpellChecker Namespace / UserDictionary Class / Load Method / Load(String) Method
The dictionary file.

In This Topic
    Load(String) Method
    In This Topic
    Loads the dictionary from a file.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Function Load( _
       ByVal fileName As String _
    ) As Boolean
    public override bool Load( 
       string fileName
    )

    Parameters

    fileName
    The dictionary file.

    Return Value

    True if the dictionary was loaded successfully, false otherwise.
    Remarks
    If the dictionary fails to load, this method returns false. In this case, you can check the value of the dictionary's SpellDictionaryBase.State property to determine why the file failed to load.
    See Also