LanguageService.GetLanguageServiceGuid Method
Returns the GUID of the language service.
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)
Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Syntax
'Declaration
Public Function GetLanguageServiceGuid As Guid
public Guid GetLanguageServiceGuid()
public:
Guid GetLanguageServiceGuid()
member GetLanguageServiceGuid : unit -> Guid
public function GetLanguageServiceGuid() : Guid
Return Value
Type: Guid
Always returns the GUID of the language service.
Remarks
The value returned is the GUID of the language service which is also the GUID of the language represented by the service.
.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.