This documentation is archived and is not being maintained.

EditorFactory.GetRegisteredEditor Method

Gets the GUID of the highest-priority editor registered for this extension. This will also pick up user-defined associations between file extensions and editors

This method is not CLS-compliant.  

Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in microsoft.visualstudio.package.languageservice.dll)

public:
virtual Guid GetRegisteredEditor (
	String^ extension
)
public Guid GetRegisteredEditor (
	String extension
)
public function GetRegisteredEditor (
	extension : String
) : Guid

Parameters

extension

The extension for which to get the editor.

Return Value

The GUID of the editor.
Show: