ScriptEditorControl.. Method

Gets the editor buffer.

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

Syntax

'Declaration
Private Function GetBuffer ( _
    <OutAttribute> ByRef buffer As IVsTextLines _
) As Integer Implements IVsCodeWindow.GetBuffer
'Usage
Dim instance As ScriptEditorControl
Dim buffer As IVsTextLines
Dim returnValue As Integer

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

Parameters

  • buffer
    Type: IVsTextLines%
    A pointer to a IVsTextLines object.

Return Value

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

Implements

IVsCodeWindowGetBuffer(IVsTextLines%)