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
‘선언
Public ReadOnly Property LanguageService As LanguageService
Get
‘사용 방법
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.