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
- 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.