Export (0) Print
Expand All

EditorFactory.GetLanguageService Method

Gets the GUID of the language service registered for this file extension under the registry key HKLM\Software\Microsoft\Visual Studio\10.0\Languages\File Extensions.

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)

public virtual string GetLanguageService(
	string fileExtension
)

Parameters

fileExtension
Type: System.String
The file extension for the desired language service.

Return Value

Type: System.String
The GUID of the language service.

Community Additions

ADD
Show:
© 2014 Microsoft