EditorFactory.MapLogicalView Method
Maps a logical view to a physical view.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public Overridable Function MapLogicalView ( _
ByRef logicalView As Guid, _
<OutAttribute> ByRef physicalView As String _
) As Integer
'Usage
Dim instance As EditorFactory
Dim logicalView As Guid
Dim physicalView As String
Dim returnValue As Integer
returnValue = instance.MapLogicalView(logicalView, _
physicalView)
public virtual int MapLogicalView(
ref Guid logicalView,
out string physicalView
)
public:
virtual int MapLogicalView(
Guid% logicalView,
[OutAttribute] String^% physicalView
)
public function MapLogicalView(
logicalView : Guid,
physicalView : String
) : int
Parameters
logicalView
Type: System.Guid%Unique identifier of the logical view.
physicalView
Type: System.String%The name of the physical view to which the logical view is to be mapped.
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.