다음을 통해 공유


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

.NET Framework Security

See Also

Reference

ModelingEditorFactory Class

MapLogicalView Overload

Microsoft.VisualStudio.Modeling.Shell Namespace