Creates instances of document view objects and of data objects.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Thetype exposes the following members.
|Close||Releases all cached interface pointers and unregisters any event sinks.|
|CreateEditorInstance||Used by the editor factory architecture to create editors that support data/view separation.|
|MapLogicalView||Maps a logical view to a physical view.|
|SetSite||Initializes an editor in the environment.|
An editor factory acts like an OLE IClassFactory for instantiating document view objects and document data objects in an editor. The editor factory architecture allows you to create editors that support data/view separation (for example, an editor could support the Window.NewWindow functionality). For more information, see How to: Register an Editor Factory.
The following table lists examples of common tasks using IVsEditorFactory.
To do this
Attach a view to an existing buffer
Register your editor factory with the environment
Customize the Visual Studio core editor with your language service