Compartir a través de


EditorFactory.MapLogicalView Method

Maps a logical view to a physical view.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Declaración
Public Overridable Function MapLogicalView ( _
    ByRef logicalView As Guid, _
    <OutAttribute> ByRef physicalView As String _
) As Integer
'Uso
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
)
abstract MapLogicalView : 
        logicalView:Guid byref * 
        physicalView:string byref -> int 
override MapLogicalView : 
        logicalView:Guid byref * 
        physicalView:string byref -> int 
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

See Also

Reference

EditorFactory Class

EditorFactory Members

Microsoft.VisualStudio.Package Namespace

MapLogicalView