[]
        
(Showing Draft Content)

C1.WPF.SpellChecker.UserDictionary

UserDictionary Class

Class that contains a list of additional words and methods for managing the list.

Inheritance
UserDictionary
Namespace: C1.WPF.SpellChecker
Assembly: C1.WPF.SpellChecker.4.6.2.dll
Syntax
public class UserDictionary : SpellDictionaryBase, ISpellDictionary, ICollection<string>, IEnumerable<string>, IEnumerable
Public Class UserDictionary
    Inherits SpellDictionaryBase
    Implements ISpellDictionary, ICollection(Of String), IEnumerable(Of String), IEnumerable
Remarks

This class is used to store user dictionaries. It provides methods for adding and removing words, as well as saving the dictionary.

Methods

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.

Load(Stream)

Loads the dictionary from a UTF-8 stream.

Load(string)

Loads the dictionary from a file.

LoadFromIsolatedStorage(string, IsolatedStorageScope, Type, Type)

Loads the dictionary from a compressed file in isolated storage.

RemoveWord(string)

Removes a word from the dictionary.

Save(Stream)

Saves the user dictionary into a UTF-8 encoded stream.

SaveToIsolatedStorage(string, IsolatedStorageScope, Type, Type)

Saves the dictionary into a compressed file in isolated storage.