Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

'Usage
Public Class ictionariesImplementation
	Implements Dictionaries
End Class
Dim ictionariesImplementation1 As New ictionariesImplementation()

public interface Dictionaries : IEnumerable
public interface Dictionaries implements IEnumerable
public interface Dictionaries implements IEnumerable

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.


Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

Show: