Partager via


Source.LanguageService Property

Gets the language service associated with the source file.

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

Syntax

'Déclaration
Public ReadOnly Property LanguageService As LanguageService
    Get
'Utilisation
Dim instance As Source
Dim value As LanguageService

value = instance.LanguageService
public LanguageService LanguageService { get; }
public:
property LanguageService^ LanguageService {
    LanguageService^ get ();
}
member LanguageService : LanguageService
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

Source Members

Microsoft.VisualStudio.Package Namespace