Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Maps a physical view to a logical view.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function MapLogicalView ( _
ByRef rguidEditorType As Guid, _
ByRef rguidLogicalView As Guid, _
<OutAttribute> ByRef pbstrPhysicalView As String _
) As Integer
'Usage
Dim instance As IVsUIShellOpenDocument
Dim rguidEditorType As Guid
Dim rguidLogicalView As Guid
Dim pbstrPhysicalView As String
Dim returnValue As Integer
returnValue = instance.MapLogicalView(rguidEditorType, _
rguidLogicalView, pbstrPhysicalView)
int MapLogicalView(
ref Guid rguidEditorType,
ref Guid rguidLogicalView,
out string pbstrPhysicalView
)
int MapLogicalView(
[InAttribute] Guid% rguidEditorType,
[InAttribute] Guid% rguidLogicalView,
[OutAttribute] String^% pbstrPhysicalView
)
abstract MapLogicalView :
rguidEditorType:Guid byref *
rguidLogicalView:Guid byref *
pbstrPhysicalView:string byref -> int
function MapLogicalView(
rguidEditorType : Guid,
rguidLogicalView : Guid,
pbstrPhysicalView : String
) : int
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 Single and Multi-tab Views.
- pbstrPhysicalView
Type: System.String%
[out, retval] Pointer to the physical view.
Return Value
Type: System.Int32
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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsUIShellOpenDocument Interface