ModelingEditorFactory.MapLogicalView Method (Guid%, String%)

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

'Declaration
Public Function MapLogicalView ( _
    ByRef logicalView As Guid, _
    <OutAttribute> ByRef viewName As String _
) As Integer
'Usage
Dim instance As ModelingEditorFactory 
Dim logicalView As Guid 
Dim viewName As String 
Dim returnValue As Integer 

returnValue = instance.MapLogicalView(logicalView, _
    viewName)
public int MapLogicalView(
    ref Guid logicalView,
    out string viewName
)
public:
virtual int MapLogicalView(
    Guid% logicalView, 
    [OutAttribute] String^% viewName
) sealed
public final function MapLogicalView(
    logicalView : Guid, 
    viewName : String
) : int

Parameters

  • logicalView
    Type: System.Guid%

    The GUID that is assigned to the logical view.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsEditorFactory.MapLogicalView(Guid%, String%)

.NET Framework Security

See Also

Reference

ModelingEditorFactory Class

ModelingEditorFactory Members

MapLogicalView Overload

Microsoft.VisualStudio.Modeling.Shell Namespace