共用方式為


IVsMultiViewDocumentView.IsLogicalViewActive(Guid, Int32) Method

Definition

Determines whether the specified logical view is active.

public:
 int IsLogicalViewActive(Guid % rguidLogicalView, [Runtime::InteropServices::Out] int % pIsActive);
public int IsLogicalViewActive (ref Guid rguidLogicalView, out int pIsActive);
abstract member IsLogicalViewActive : Guid * int -> int
Public Function IsLogicalViewActive (ByRef rguidLogicalView As Guid, ByRef pIsActive As Integer) As Integer

Parameters

rguidLogicalView
Guid

[in] GUID identifying the logical view.

pIsActive
Int32

[out, retval] If true, then the specified logical view is the active view.

Returns

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  
);  

Applies to