Style.LanguageID Property 

Returns or sets the language for the specified object. Read/write.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim style1 As Style

Dim returnValue As WdLanguageID
returnValue = style1.LanguageID

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

Can be any WdLanguageID constant.

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

Style Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Style Members