[]
Class that contains a list of additional words and methods for managing the list.
public class UserDictionary : SpellDictionaryBase, ISpellDictionary, IComponent, IDisposable
Public Class UserDictionary
Inherits SpellDictionaryBase
Implements ISpellDictionary, IComponent, IDisposable
This class is used to store user dictionaries. It provides methods for adding and removing words, as well as saving the dictionary.
| Name | Description |
|---|---|
| FileName | Gets or sets the name of the file that contains the dictionary. |
| Words | Gets or sets an array with all the words in the user dictionary. |
| Name | Description |
|---|---|
| AddWord(string) | Adds a word to the dictionary. |
| Clear() | Clears the dictionary removing all words in it. |
| Contains(string) | Checks whether the dictionary contains a given word. |
| GetFileName(bool) | Gets the fully qualified name of the file that contains the user dictionary. |
| Load() | Loads the dictionary from a file. |
| RemoveWord(string) | Removes a word from the dictionary. |
| Save() | Saves the dictionary back to a file. |
| Name | Description |
|---|---|
| BadWordAdded | Occurs when bad word was added to the user dictionary. |