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.
viewName
Type: System.String%The name of 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
- 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.