Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetRegisteredEditor Method

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



The extension for which to get the editor.

Return Value

The GUID of the editor.

Community Additions

© 2015 Microsoft