Share via


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.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 (in Microsoft.VisualStudio.Package.LanguageService.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: System.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

See Also

Reference

LanguageService Class

Microsoft.VisualStudio.Package Namespace