Dictionary.LanguageID property

Returns or sets the language for the specified object.

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

WdLanguageID LanguageID { get; set; }

For a custom dictionary, you must first set the LanguageSpecific property to True before specifying the LanguageID property. Custom dictionaries that are language-specific only look at text formatted for that language.

The LanguageID property can be one of the WdLanguageID constants. Some of these constants may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.

Show:
© 2014 Microsoft