EditorFactory.GetExtensions Method

Returns a list of file extensions registered for this editor factory.

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

public virtual string[] GetExtensions()

Return Value

Type: System.String[]
An array of strings containing the editor extensions.

Returns list of file extensions registered for this editor factory under HKLM\Software\Microsoft\Visual Studio\8.0\Editors\<GUID of editor>\Extensions.

Show: