IVsMultiViewDocumentView.GetActiveLogicalView Method
Determines which logical view is active.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetActiveLogicalView ( _
<OutAttribute> ByRef pguidLogicalView As Guid _
) As Integer
int GetActiveLogicalView(
out Guid pguidLogicalView
)
int GetActiveLogicalView(
[OutAttribute] Guid% pguidLogicalView
)
abstract GetActiveLogicalView :
pguidLogicalView:Guid byref -> int
function GetActiveLogicalView(
pguidLogicalView : Guid
) : int
Parameters
pguidLogicalView
Type: Guid%[out] GUID identifying the active logical view.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsMultiViewDocumentView::GetActiveLogicalView(
[out] GUID *pguidLogicalView
);
.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.