ScriptEditorControl.. Method

Gets the last active editor view.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors.VS (in SQLEditors.VS.dll)

Syntax

'Declaration
Private Function GetLastActiveView ( _
    <OutAttribute> ByRef view As IVsTextView _
) As Integer Implements IVsCodeWindow.GetLastActiveView
'Usage
Dim instance As ScriptEditorControl
Dim view As IVsTextView
Dim returnValue As Integer

returnValue = CType(instance, IVsCodeWindow).GetLastActiveView(view)
int IVsCodeWindow.GetLastActiveView(
    out IVsTextView view
)
private:
virtual int GetLastActiveView(
    [OutAttribute] IVsTextView^% view
) sealed = IVsCodeWindow::GetLastActiveView
private abstract GetLastActiveView : 
        view:IVsTextView byref -> int 
private override GetLastActiveView : 
        view:IVsTextView byref -> int 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • view
    Type: IVsTextView%
    A reference to a IVsTextView object.

Return Value

Type: System.Int32
An integer value that indicates the result of the operation.

Implements

IVsCodeWindowGetLastActiveView(IVsTextView%)