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 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Protected Overridable Function MapLogicalView ( _
    logicalView As Guid, _
    viewContext As Object _
) As String
'使用
Dim logicalView As Guid
Dim viewContext As Object
Dim returnValue As String

returnValue = Me.MapLogicalView(logicalView, _
    viewContext)
protected virtual string MapLogicalView(
    Guid logicalView,
    Object viewContext
)
protected:
virtual String^ MapLogicalView(
    Guid logicalView, 
    Object^ viewContext
)
protected function MapLogicalView(
    logicalView : Guid, 
    viewContext : Object
) : String

Parameters

  • logicalView
    Type: System.Guid

    The GUID that is assigned to the logical view.

  • viewContext
    Type: System.Object

    The 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.

Permissions

See Also

Reference

ModelingEditorFactory Class

ModelingEditorFactory Members

MapLogicalView Overload

Microsoft.VisualStudio.Modeling.Shell Namespace