Partager via


Global.HangulHanjaDictionaries Property (Word)

Returns a HangulHanjaConversionDictionaries collection that represents all the active custom conversion dictionaries.

Syntax

expression .HangulHanjaDictionaries

expression Required. A variable that represents a Global object.

Remarks

Active custom conversion dictionaries are marked with a check in the Custom Dictionaries dialog box (on the Tools menu, click Options, then click the Spelling & Grammar tab, and then click the Custom Dictionaries button).

For information about returning a single member of a collection, see Returning an Object from a Collection.

Example

This example adds a new, blank custom dictionary to the collection. The path and file name of the new custom dictionary are then displayed in a message box.

Set myHome = _ 
 HangulHanjaDictionaries.Add(Filename:="Home.hhd") 
Msgbox myHome.Path & Application.PathSeparator _ 
 & myHome.Name

This example deactivates all custom dictionaries but does not delete the custom dictionary files.

                      HangulHanjaDictionaries.ClearAll

This example displays the name of each custom dictionary in the collection.

For Each di In HangulHanjaDictionaries 
 MsgBox di.Name 
Next di

See Also

Concepts

Global Object Members

Global Object