Partager via


EditorFactory.MapLogicalView Method

Maps a logical view to a physical view.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  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
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: Guid%

    Unique identifier of the logical view.

  • physicalView
    Type: String%

    The name of the physical view to which the logical view is to be mapped.

Return Value

Type: 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

Microsoft.VisualStudio.Package Namespace

MapLogicalView