This documentation is archived and is not being maintained.

EditorFactory.GetRegisteredEditorInfo Method

Gets the [EditorFactory.EditorInfo] for the specified extension.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

public virtual EditorFactory..::.EditorInfo GetRegisteredEditorInfo(
	string extension
)

Parameters

extension
Type: System.String

The extension for which to get the editor information

Return Value

Type: Microsoft.VisualStudio.Package.EditorFactory.EditorInfo
The [EditorFactory.EditorInfo] registered for the given extension.

Show: