ModelingEditorFactory.MapLogicalView Method (Guid, Object)
Maps a logical view's GUID to a physical view.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Protected Overridable Function MapLogicalView ( _
logicalView As Guid, _
viewContext As Object _
) As String
protected virtual string MapLogicalView(
Guid logicalView,
Object viewContext
)
protected:
virtual String^ MapLogicalView(
Guid logicalView,
Object^ viewContext
)
abstract MapLogicalView :
logicalView:Guid *
viewContext:Object -> string
override MapLogicalView :
logicalView:Guid *
viewContext:Object -> string
protected function MapLogicalView(
logicalView : Guid,
viewContext : Object
) : String
Parameters
logicalView
Type: System.GuidThe GUID that is assigned to the logical view.
viewContext
Type: System.ObjectThe view's context object, which provides information about the view.
Return Value
Type: System.String
The ID that is assigned to the diagram.
Remarks
To support multiple physical views for one logical view, this method passes the viewContext object, which derived classes can use to differentiate between physical views.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.