Back to Devexpress

DictionaryBase.Load() Method

corelibraries-devexpress-dot-xtraspellchecker-dot-dictionarybase-15d1ecbf.md

latest2.5 KB
Original Source

DictionaryBase.Load() Method

Loads and initializes the dictionary.

Namespace : DevExpress.XtraSpellChecker

Assembly : DevExpress.SpellChecker.v25.2.Core.dll

NuGet Package : DevExpress.SpellChecker.Core

Declaration

csharp
public void Load()
vb
Public Sub Load

Remarks

The Load method clears the previous dictionary and loads dictionary files from paths specified by the DictionaryPath and GrammarPath properties. Make sure that these properties are specified before you call this method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Load() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-spellchecker-enable-in-text-box/CS/Form1.cs#L62

csharp
ispellDictionaryEnglish.Culture = new CultureInfo("en-US");
ispellDictionaryEnglish.Load();
spellChecker1.Dictionaries.Add(ispellDictionaryEnglish);

winforms-spellchecker-enable-in-text-box/VB/Form1.vb#L58

vb
ispellDictionaryEnglish.Culture = New CultureInfo("en-US")
ispellDictionaryEnglish.Load()
spellChecker1.Dictionaries.Add(ispellDictionaryEnglish)

Implements

Load()

See Also

DictionaryBase Class

DictionaryBase Members

DevExpress.XtraSpellChecker Namespace