Partager via


EditorFactory.GetLanguageServiceGuid Method

Gets the language service GUID.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.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

'Declaration
Public Overridable Function GetLanguageServiceGuid As Guid
public virtual Guid GetLanguageServiceGuid()
public:
virtual Guid GetLanguageServiceGuid()
abstract GetLanguageServiceGuid : unit -> Guid  
override GetLanguageServiceGuid : unit -> Guid
public function GetLanguageServiceGuid() : Guid

Return Value

Type: Guid
This method returns the language service GUID. The base method returns an empty GUID.

Remarks

Override this method if you registered the file extension "*".

.NET Framework Security

See Also

Reference

EditorFactory Class

Microsoft.VisualStudio.Package Namespace