IVsUIShellOpenDocument::MapLogicalView Method (Guid, Guid, String^)
Visual Studio 2015
Maps a physical view to a logical view.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int MapLogicalView(
[InAttribute] Guid% rguidEditorType,
[InAttribute] Guid% rguidLogicalView,
[OutAttribute] String^% pbstrPhysicalView
)
Parameters
- rguidEditorType
-
Type:
System::Guid
[in] Unique identifier of the editor type.
- rguidLogicalView
-
Type:
System::Guid
[in] GUID of the logical view. For a list of logical view GUID, see Logical View and Physical View.
- pbstrPhysicalView
-
Type:
System::String^
[out, retval] Pointer to the physical view.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsUIShellOpenDocument::MapLogicalView( [in] REFGUID rguidEditorType, [in] REFGUID rguidLogicalView, [out, retval] BSTR *pbstrPhysicalView );
Show: