Version

Language Property (TextDocument)

Returns/sets the associated language
Syntax
'Declaration
 
Public Property Language As LanguageBase
public LanguageBase Language {get; set;}
Remarks

Note: if this property is not set then the document will be treated as plain text with no syntax rules. In this case an instance of the PlainTextLanguage will be returned.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also