This documentation is archived and is not being maintained.

IVsUIShellOpenDocument.MapLogicalView Method

Maps a physical view to a logical view.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int MapLogicalView (
	[InAttribute] ref Guid rguidEditorType,
	[InAttribute] ref Guid rguidLogicalView,
	out string pbstrPhysicalView
)
int MapLogicalView (
	/** @attribute InAttribute() */ /** @ref */ Guid rguidEditorType, 
	/** @attribute InAttribute() */ /** @ref */ Guid rguidLogicalView, 
	/** @attribute OutAttribute() */ /** @ref */ String pbstrPhysicalView
)
JScript does not support passing value-type arguments by reference.

Parameters

rguidEditorType

[in] Unique identifier of the editor type.

rguidLogicalView

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

pbstrPhysicalView

[out, retval] Pointer to the physical view.

Return Value

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

COM Signature

From vsshell.idl:

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