Dictionaries Interface

A collection of Dictionary objects that includes the active custom spelling dictionaries.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
<GuidAttribute("000209AC-0000-0000-C000-000000000046")> _
Public Interface Dictionaries _
    Inherits IEnumerable
'Usage
Dim instance As Dictionaries
[GuidAttribute("000209AC-0000-0000-C000-000000000046")]
public interface Dictionaries : IEnumerable

Remarks

Use the CustomDictionaries property to return the collection of currently active custom dictionaries.

Use the Add method to add a new custom dictionary to the collection of active custom dictionaries. If there isn't a file with the name specified by FileName, Word creates it.

Use the ClearAll method to unload all custom dictionaries. Note, however, that this method doesn't delete the dictionary files. After you use this method, the number of custom dictionaries in the collection is 0 (zero).

You set the custom dictionary to which new words are added by using the ActiveCustomDictionary property. If you try to set this property to a dictionary that isn't a custom dictionary, an error occurs.

The Maximum property returns the maximum number of simultaneous custom spelling dictionaries that the application can support. For Microsoft Word, this maximum is 10.

See Also

Reference

Dictionaries Members

Microsoft.Office.Interop.Word Namespace