Source.LanguageService Property

Gets the language service associated with the source file.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public ReadOnly Property LanguageService As LanguageService
public LanguageService LanguageService { get; }
public:
property LanguageService^ LanguageService {
    LanguageService^ get ();
}
member LanguageService : LanguageService with get
function get LanguageService () : LanguageService

Property Value

Type: Microsoft.VisualStudio.Package.LanguageService
The LanguageService object passed to the constructor.

Remarks

This property allows the Source class to call into the LanguageService class.

.NET Framework Security

See Also

Reference

Source Class

Microsoft.VisualStudio.Package Namespace