Range.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 range1 As Range

Dim returnValue As WdLanguageID
returnValue = range1.LanguageID

Dim sampleValue As WdLanguageID
range1.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

Some of the WdLanguageID 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

Range Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Range Members