The UserDictionary type exposes the following members.

Methods

  NameDescription
Public methodAddWord
Adds a word to the dictionary.
Public methodClear
Clears the dictionary removing all words in it.
Public methodContains
Checks whether the dictionary contains a given word.
(Overrides SpellDictionaryBase..::..Contains(String).)
Public methodEnsureLoaded
Ensures the dictionary is loaded, reading words from the file if necessary.
(Inherited from SpellDictionaryBase.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemoveWord
Removes a word from the dictionary.
Public methodSave
Saves the dictionary back to a file.
Public methodToString
Gets a string that represents this object.
(Inherited from SpellDictionaryBase.)

Properties

  NameDescription
Public propertyEnabled
Gets or sets whether the dictionary is enabled.
(Inherited from SpellDictionaryBase.)
Public propertyFileName
Gets or sets the name of the file that contains the dictionary.
(Overrides SpellDictionaryBase..::..FileName.)
Public propertyState
Gets a DictionaryState value that indicates whether the dictionary was loaded successfully.
(Inherited from SpellDictionaryBase.)

See Also