ScriptEditorControl.. Method
Gets the primary editor view.
Namespace: Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly: SQLEditors.VS (in SQLEditors.VS.dll)
Syntax
'Declaration
Private Function GetPrimaryView ( _
<OutAttribute> ByRef view As IVsTextView _
) As Integer Implements IVsCodeWindow.GetPrimaryView
'Usage
Dim instance As ScriptEditorControl
Dim view As IVsTextView
Dim returnValue As Integer
returnValue = CType(instance, IVsCodeWindow).GetPrimaryView(view)
int IVsCodeWindow.GetPrimaryView(
out IVsTextView view
)
private:
virtual int GetPrimaryView(
[OutAttribute] IVsTextView^% view
) sealed = IVsCodeWindow::GetPrimaryView
private abstract GetPrimaryView :
view:IVsTextView byref -> int
private override GetPrimaryView :
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
IVsCodeWindowGetPrimaryView(IVsTextView%)