IVsEditorFactoryChooser Interface
Visual Studio 2015
Implemented by an editor factory as a chooser (or delegator) to other types of editor factory.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
| Name | Description | |
|---|---|---|
![]() | ChooseEditorFactory(String, IVsHierarchy, UInt32, IntPtr, Guid, Guid, Guid) | Chooses the correct editor factory. |
A chooser editor factory will sample the input file to determine the correct editor factory to use. The OpenStandardEditor and OpenSpecificEditor methods check whether an IVsEditorFactory implements IVsEditorFactoryChooser and if so, delegate to the chosen IVsEditorFactory. For example, the XmlEditorFactoryChooser sniffs an XML file to determine the best editor factory based on the contents of the file (XSD DataSet, WPF XAML, Workflow XAML, etc.).
Show:
