IVsCodeWindow.GetSecondaryView Method

Returns the bottom (or secondary) view of a split code window.

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

Syntax

声明
Function GetSecondaryView ( _
    <OutAttribute> ByRef ppView As IVsTextView _
) As Integer
用法
Dim instance As IVsCodeWindow
Dim ppView As IVsTextView
Dim returnValue As Integer

returnValue = instance.GetSecondaryView(ppView)
int GetSecondaryView(
    out IVsTextView ppView
)
int GetSecondaryView(
    [OutAttribute] IVsTextView^% ppView
)
abstract GetSecondaryView : 
        ppView:IVsTextView byref -> int 
function GetSecondaryView(
    ppView : IVsTextView
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

If there is no secondary view, the ppView parameter is set to nulla null reference (Nothing in Visual Basic). To access the primary view in a split code window, call GetPrimaryView.

COM Signature

From textmgr.idl:

HRESULT IVsCodeWindow::GetSecondaryView(
   [out] IVsTextView **ppView
);

.NET Framework Security

See Also

Reference

IVsCodeWindow Interface

IVsCodeWindow Members

Microsoft.VisualStudio.TextManager.Interop Namespace