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