ModelingEditorFactory.MapLogicalView Method
Include Protected Members
Include Inherited Members
Maps a logical view to a physical view.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name | Description | |
---|---|---|
MapLogicalView(Guid, Object) | Maps a logical view's GUID to a physical view. | |
MapLogicalView(Guid%, String%) | Maps a logical view's GUID to a physical view. |
Top
Remarks
A logical view represents the type of view; a physical view represents an instance of a view.
You call this method before the modeling editor is created by using CreateEditorInstance. After this method finishes, the physical view is passed to CreateDocView.
If you close a project with open documents, Visual Studio tries to restore the views for each document when the project is reopened. Visual Studio saves the physical view for each open document. When the project is reopened, Visual Studio uses CreateDocView to re-create the physical view for each document.
You do not need to override this method unless you are adding support for multiple views.