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 |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
|
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.) |
|
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
|
Load |
Loads the dictionary from a UTF-8 stream.
(Overrides SpellDictionaryBase..::..Load(Stream).) |
|
|
LoadAsync(String) |
Loads the dictionary from a Uri pointing to the compressed dictionary data.
(Inherited from SpellDictionaryBase.) |
|
|
LoadAsync(Uri) | (Inherited from SpellDictionaryBase.) |
|
|
LoadFromIsolatedStorage |
Loads the dictionary from a compressed file in isolated storage.
|
|
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
|
OnLoadCompleted |
Raises the LoadCompleted event.
(Inherited from SpellDictionaryBase.) |
|
|
OnLoadProgressChanged |
Raises the LoadProgressChanged event.
(Inherited from SpellDictionaryBase.) |
|
|
RemoveWord |
Removes a word from the dictionary.
|
|
|
Save |
Saves the user dictionary into a UTF-8 encoded stream.
|
|
|
SaveToIsolatedStorage |
Saves the dictionary into a compressed file in isolated storage.
|
|
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
|
|
m_enabled |
Gets or sets whether the dictionary is enabled.
(Inherited from SpellDictionaryBase.) |
|
|
m_spell |
C1SpellChecker that owns the dictionary.
(Inherited from SpellDictionaryBase.) |
|
|
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 | |
|---|---|---|
|
|
Enabled |
Gets or sets whether the dictionary is enabled.
(Inherited from SpellDictionaryBase.) |
|
|
State |
Gets a DictionaryState value that indicates whether the dictionary was loaded
successfully.
(Inherited from SpellDictionaryBase.) |
Events
| Name | Description | |
|---|---|---|
|
|
LoadCompleted |
Fires when the dictionary finishes loading after a call to the LoadAsync(String) method.
(Inherited from SpellDictionaryBase.) |
|
|
LoadProgressChanged |
Fires while the dictionary loads after a call to the LoadAsync(String) method.
(Inherited from SpellDictionaryBase.) |