Partager via


IVsUIShellOpenDocument.MapLogicalView(Guid, Guid, String) Method

Definition

Maps a physical view to a logical view.

public:
 int MapLogicalView(Guid % rguidEditorType, Guid % rguidLogicalView, [Runtime::InteropServices::Out] System::String ^ % pbstrPhysicalView);
public int MapLogicalView (ref Guid rguidEditorType, ref Guid rguidLogicalView, out string pbstrPhysicalView);
abstract member MapLogicalView : Guid * Guid * string -> int
Public Function MapLogicalView (ByRef rguidEditorType As Guid, ByRef rguidLogicalView As Guid, ByRef pbstrPhysicalView As String) As Integer

Parameters

rguidEditorType
Guid

[in] Unique identifier of the editor type.

rguidLogicalView
Guid

[in] GUID of the logical view. For a list of logical view GUID, see Logical View and Physical View.

pbstrPhysicalView
String

[out, retval] Pointer to the physical view.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsUIShellOpenDocument::MapLogicalView(  
   [in] REFGUID rguidEditorType,  
   [in] REFGUID rguidLogicalView,  
   [out, retval] BSTR *pbstrPhysicalView  
);  

Applies to