IVsUIShellOpenDocument.MapLogicalView(Guid, Guid, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);