共用方式為


IVsMultiViewDocumentView.GetActiveLogicalView(Guid) Method

Definition

Determines which logical view is active.

public:
 int GetActiveLogicalView([Runtime::InteropServices::Out] Guid % pguidLogicalView);
public int GetActiveLogicalView (out Guid pguidLogicalView);
abstract member GetActiveLogicalView : Guid -> int
Public Function GetActiveLogicalView (ByRef pguidLogicalView As Guid) As Integer

Parameters

pguidLogicalView
Guid

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

Applies to