SpellCheckerCustomDictionary Members
Represents a custom dictionary of the spell checker.Constructors
Name | Description |
---|---|
SpellCheckerCustomDictionary() | Initializes a new instance of the SpellCheckerCustomDictionary class with the default settings. |
SpellCheckerCustomDictionary(SerializationInfo, StreamingContext) | Initializes a new instance of the SpellCheckerCustomDictionary class with specified settings. |
SpellCheckerCustomDictionary(String, CultureInfo) | Initializes a new instance of the SpellCheckerCustomDictionary class with the specified settings. |
Properties
Name | Description |
---|---|
AlphabetChars | Gets the alphabetical list of characters for the current dictionary. Inherited from DictionaryBase. |
AlphabetPath | Gets or sets the path to the alphabet file used for creating the SpellCheckerISpellDictionary. Inherited from SpellCheckerDictionaryBase. |
CacheKey | Gets or sets a unique identifier of a dictionary instance for caching purposes. Inherited from SpellCheckerDictionaryBase. |
CanCacheDictionary | Indicates whether a dictionary can be placed in the cache. Inherited from SpellCheckerDictionaryBase. |
CaseSensitive | Gets or sets the flag that affects the case sensitivity of the search algorithm and the rules of comparison. Inherited from SpellCheckerDictionaryBase. |
Culture | Gets or sets the culture specific settings of the dictionary. Inherited from DictionaryBase. |
DictionaryPath | Gets or sets the path to the dictionary file. Inherited from DictionaryBase. |
Encoding | Gets or sets the dictionary text encoding. Inherited from SpellCheckerDictionaryBase. |
Item[Int32] | Gets or sets the word at the specified index in the dictionary. Inherited from SpellCheckerDictionaryBase. |
Loaded | Gets whether the dictionary is loaded. Inherited from DictionaryBase. |
WordCount | Gets the number of word entries contained in the dictionary. Inherited from SpellCheckerDictionaryBase. |
Methods
Name | Description |
---|---|
AddWord(String) | Appends a word to the custom dictionary and saves it. |
AddWords(ICollection) | Appends words to the custom dictionary. |
BeginUpdate() | Locks the SpellCheckerCustomDictionary object by preventing visual updates until the EndUpdate method is called. |
Clear() | Removes all words from the dictionary word list and all metaphone indexes from the hash table. Inherited from SpellCheckerDictionaryBase. |
Contains(String) | Determines whether a word is in the dictionary. Inherited from SpellCheckerDictionaryBase. |
EndUpdate() | Unlocks the SpellCheckerCustomDictionary object after a call to the BeginUpdate method and causes an immediate visual update. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
FillAlphabetFromStream(Stream) | Loads the alphabet from the specified stream into the current SpellCheckerDictionaryBase object. Inherited from SpellCheckerDictionaryBase. |
FindWord(String) | Searches for the word in the dictionary. Inherited from SpellCheckerDictionaryBase. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
HasWord(String) | Obsolete. Indicates whether the current dictionary contains a specified word. Inherited from SpellCheckerDictionaryBase. |
IsLocked() | Checks if the dictionary allows changes. |
Load() | Loads and initializes the dictionary. Inherited from DictionaryBase. |
Load(Stream, Stream) | Loads the dictionary and the alphabet from specified streams into the current custom dictionary, and initializes it. Inherited from SpellCheckerDictionary. |
LoadAlphabetFromStream(Stream) | Obsolete. Loads the alphabet from the specified stream into the current SpellCheckerDictionary object. Inherited from SpellCheckerDictionary. |
LoadFromStream(Stream) | Loads the dictionary from the specified stream into the current SpellCheckerDictionary object and initializes it. Inherited from SpellCheckerDictionary. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
Save() | Saves a custom dictionary to a file. |
SaveAs(String) | Saves the custom dictionary into a specified file. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
Events
Name | Description |
---|---|
DictionaryLoaded | Occurs when a dictionary is loaded. Inherited from DictionaryBase. |
See Also