In Windows, the Edit method displays the Dictionary dialog box that allows a user to edit the dictionary and to import any text file in Windows ANSI- and Unicode-encoding (the only requirement is that words must be separated by spaces or other non-alphabetic characters).
Properties
| Name | Type | Description |
|---|---|---|
| Application | Engine, read-only | Returns the Engine object. |
| Name | BSTR | Stores the name of the dictionary. In Windows, this name displays at the caption of the Dictionary dialog box. After creation of the Dictionary object this property stores the name of the dictionary file (without path and extension). You may assign it any other value. This property is not saved into the file associated with the dictionary, and should be initialized every time the dictionary is edited. |
| WordsCount | int, read-only | Returns the number of words in the dictionary. |
Methods
| Name | Description |
|---|---|
| AddWord | Adds a word to the dictionary. |
| AddWords | Adds a group of words to the dictionary. |
| DeleteAllWords | Deletes all words from the dictionary. |
| DeleteWord | Deletes a word from the dictionary. |
| DeleteWords | Deletes a group of words from the dictionary. |
| Edit <Note> Available for Windows. </Note> | Displays the Dictionary dialog box that allows a user to edit the dictionary. |
| EnumWords | Returns an object of the EnumDictionaryWords type that allows you to iterate through the words in the dictionary. |
Output parameter
This object is the output parameter of the CreateNewDictionary, OpenExistingDictionary, OpenDictionaryExtension methods of the LanguageDatabase object.Samples
C# code
C# code
