次の方法で共有


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 (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'宣言
Public Function GetLanguageServiceGuid As Guid
'使用
Dim instance As LanguageService
Dim returnValue As Guid

returnValue = instance.GetLanguageServiceGuid()
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

LanguageService Members

Microsoft.VisualStudio.Package Namespace