Condividi tramite


VsCodeWindowClass.GetLastActiveView Method

Returns the last active view of the code window.

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

Syntax

'Declaration
Public Overridable Function GetLastActiveView ( _
    <OutAttribute> ByRef ppView As IVsTextView _
) As Integer
public virtual int GetLastActiveView(
    out IVsTextView ppView
)
public:
virtual int GetLastActiveView(
    [OutAttribute] IVsTextView^% ppView
)
abstract GetLastActiveView : 
        ppView:IVsTextView byref -> int  
override GetLastActiveView : 
        ppView:IVsTextView byref -> int
public function GetLastActiveView(
    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.

Implements

IVsCodeWindow.GetLastActiveView(IVsTextView%)

.NET Framework Security

See Also

Reference

VsCodeWindowClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace