EditorFactory.GetExtensions Method
Returns a list of file extensions registered for this editor factory.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public Overridable Function GetExtensions As String()
'Usage
Dim instance As EditorFactory
Dim returnValue As String()
returnValue = instance.GetExtensions()
public virtual string[] GetExtensions()
public:
virtual array<String^>^ GetExtensions()
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
- 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.