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)
Usage
Dim dictionary1 As Dictionary
Dim returnValue As WdLanguageID
returnValue = dictionary1.LanguageID
Dim sampleValue As WdLanguageID
dictionary1.LanguageID = sampleValue
Syntax
Property LanguageID() As WdLanguageID
WdLanguageID LanguageID {get; set;}
property WdLanguageID^ LanguageID{
WdLanguageID^ get();
Void set(WdLanguageID^);
}
public WdLanguageID get_LanguageID();
public void set_LanguageID(WdLanguageID);
function get LanguageID() : WdLanguageID;
function set LanguageID(WdLanguageID);
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Dictionary Interface
Microsoft.Office.Interop.Word Namespace