The UserDictionary type exposes the following members.

Methods

  Name Description
Public method AddWord
Adds a word to the dictionary.
Public method Clear
Clears the dictionary removing all words in it.
Public method Contains
Checks whether the dictionary contains a given word.
(Overrides SpellDictionaryBase..::..Contains(String).)
Public method EnsureLoaded
Ensures the dictionary is loaded, reading words from the file if necessary.
(Inherited from SpellDictionaryBase.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Load
Loads the dictionary from a UTF-8 stream.
(Overrides SpellDictionaryBase..::..Load(Stream).)
Public method LoadAsync(String)
Loads the dictionary from a Uri pointing to the compressed dictionary data.
(Inherited from SpellDictionaryBase.)
Public method LoadAsync(Uri) (Inherited from SpellDictionaryBase.)
Public method LoadFromIsolatedStorage
Loads the dictionary from a compressed file in isolated storage.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method OnLoadCompleted
Raises the LoadCompleted event.
(Inherited from SpellDictionaryBase.)
Protected method OnLoadProgressChanged
Raises the LoadProgressChanged event.
(Inherited from SpellDictionaryBase.)
Public method RemoveWord
Removes a word from the dictionary.
Public method Save
Saves the user dictionary into a UTF-8 encoded stream.
Public method SaveToIsolatedStorage
Saves the dictionary into a compressed file in isolated storage.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Fields

  Name Description
Protected field m_enabled
Gets or sets whether the dictionary is enabled.
(Inherited from SpellDictionaryBase.)
Protected field m_spell
C1SpellChecker that owns the dictionary.
(Inherited from SpellDictionaryBase.)
Protected field m_state
Gets or sets a DictionaryState value that indicates whether the dictionary has been loaded or why it hasn't.
(Inherited from SpellDictionaryBase.)

Properties

  Name Description
Public property Enabled
Gets or sets whether the dictionary is enabled.
(Inherited from SpellDictionaryBase.)
Public property State
Gets a DictionaryState value that indicates whether the dictionary was loaded successfully.
(Inherited from SpellDictionaryBase.)

Events

  Name Description
Public event LoadCompleted
Fires when the dictionary finishes loading after a call to the LoadAsync(String) method.
(Inherited from SpellDictionaryBase.)
Public event LoadProgressChanged
Fires while the dictionary loads after a call to the LoadAsync(String) method.
(Inherited from SpellDictionaryBase.)

See Also