EditorFactory.GetExtensions Method
Returns a list of file extensions registered for this editor factory.
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 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<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
- 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.