Compartilhar via


IVsMultiViewDocumentView.IsLogicalViewActive Method

Determines whether the specified logical view is active.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function IsLogicalViewActive ( _
    ByRef rguidLogicalView As Guid, _
    <OutAttribute> ByRef pIsActive As Integer _
) As Integer
int IsLogicalViewActive(
    ref Guid rguidLogicalView,
    out int pIsActive
)
int IsLogicalViewActive(
    [InAttribute] Guid% rguidLogicalView, 
    [OutAttribute] int% pIsActive
)
abstract IsLogicalViewActive : 
        rguidLogicalView:Guid byref * 
        pIsActive:int byref -> int
function IsLogicalViewActive(
    rguidLogicalView : Guid, 
    pIsActive : int
) : int

Parameters

  • rguidLogicalView
    Type: Guid%

    [in] GUID identifying the logical view.

  • pIsActive
    Type: Int32%

    [out, retval] If true, then the specified logical view is the active 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::IsLogicalViewActive(
   [in] REFGUID rguidLogicalView,
   [out, retval] BOOL *pIsActive
);

.NET Framework Security

See Also

Reference

IVsMultiViewDocumentView Interface

Microsoft.VisualStudio.Shell.Interop Namespace