Share via


Selection.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)

Syntax

'Declaration
Property LanguageID As WdLanguageID
    Get
    Set
'Usage
Dim instance As Selection
Dim value As WdLanguageID

value = instance.LanguageID

instance.LanguageID = value
WdLanguageID LanguageID { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.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.

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace