次の方法で共有


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

'宣言
Function GetActiveLogicalView ( _
    <OutAttribute> ByRef pguidLogicalView As Guid _
) As Integer
'使用
Dim instance As IVsMultiViewDocumentView
Dim pguidLogicalView As Guid
Dim returnValue As Integer

returnValue = instance.GetActiveLogicalView(pguidLogicalView)
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

IVsMultiViewDocumentView Members

Microsoft.VisualStudio.Shell.Interop Namespace