Share via


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)

Syntax

'Declaration
Public Overridable Function GetExtensions As String()
public virtual string[] GetExtensions()
public:
virtual array<String^>^ GetExtensions()
abstract GetExtensions : unit -> string[] 
override GetExtensions : unit -> string[] 
public function GetExtensions() : String[]

Return Value

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

Remarks

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

.NET Framework Security

See Also

Reference

EditorFactory Class

Microsoft.VisualStudio.Package Namespace