Share via


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: System.Guid%

    [out] GUID identifying the active logical 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 IVsMultiViewDocumentView::GetActiveLogicalView(
   [out] GUID *pguidLogicalView
);

.NET Framework Security

See Also

Reference

IVsMultiViewDocumentView Interface

Microsoft.VisualStudio.Shell.Interop Namespace