Skip to main content

SpellCheckerCustomDictionary.AddWord(String) Method

Appends a word to the custom dictionary and saves it.

Namespace: DevExpress.XtraSpellChecker

Assembly: DevExpress.SpellChecker.v24.1.Core.dll

NuGet Package: DevExpress.SpellChecker.Core

Declaration

public virtual void AddWord(
    string word
)

Parameters

Name Type Description
word String

A String object, that is a word to be added to the dictionary.

Remarks

The method changes the letters in a word to the lower case, appends a word to the custom dictionary, fills in the corresponding metaphones, sorts the dictionary, saves it and rebuilds the dictionary’s alphabet.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AddWord(String) 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.

See Also