The UserDictionary type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddWord |
Adds a word to the dictionary.
| |
| Clear |
Clears the dictionary removing all words in it.
| |
| Contains |
Checks whether the dictionary contains a given word.
(Overrides SpellDictionaryBase..::..Contains(String).) | |
| EnsureLoaded |
Ensures the dictionary is loaded, reading words from the file if necessary.
(Inherited from SpellDictionaryBase.) | |
| Equals | (Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| RemoveWord |
Removes a word from the dictionary.
| |
| Save |
Saves the dictionary back to a file.
| |
| ToString |
Gets a string that represents this object.
(Inherited from SpellDictionaryBase.) |
Properties
| Name | Description | |
|---|---|---|
| Enabled |
Gets or sets whether the dictionary is enabled.
(Inherited from SpellDictionaryBase.) | |
| FileName |
Gets or sets the name of the file that contains the dictionary.
(Overrides SpellDictionaryBase..::..FileName.) | |
| State |
Gets a DictionaryState value that indicates whether the dictionary was loaded
successfully.
(Inherited from SpellDictionaryBase.) |