Partager via


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

Syntax

'Declaration
Public Function MapLogicalView ( _
    ByRef logicalView As Guid, _
    <OutAttribute> ByRef viewName As String _
) As Integer
public int MapLogicalView(
    ref Guid logicalView,
    out string viewName
)
public:
virtual int MapLogicalView(
    Guid% logicalView, 
    [OutAttribute] String^% viewName
) sealed
abstract MapLogicalView : 
        logicalView:Guid byref * 
        viewName:string byref -> int  
override MapLogicalView : 
        logicalView:Guid byref * 
        viewName:string byref -> int
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

MapLogicalView Overload

Microsoft.VisualStudio.Modeling.Shell Namespace