Share via


GetText Method

Namespace:  Microsoft.VisualStudio.Data.Tools.SqlEditor.VSIntegration
Assembly:  Microsoft.VisualStudio.Data.Tools.SqlEditor (in Microsoft.VisualStudio.Data.Tools.SqlEditor.dll)

Syntax

'Declaration
Public MustOverride Function GetText ( _
    startPosition As Integer, _
    chars As Integer _
) As String
'Usage
Dim instance As TextBuffer
Dim startPosition As Integer
Dim chars As Integer
Dim returnValue As String

returnValue = instance.GetText(startPosition, _
    chars)
public abstract string GetText(
    int startPosition,
    int chars
)
public:
virtual String^ GetText(
    int startPosition, 
    int chars
) abstract
abstract GetText : 
        startPosition:int * 
        chars:int -> string 
public abstract function GetText(
    startPosition : int, 
    chars : int
) : String

Parameters

Return Value

Type: System..::..String

See Also

Reference

TextBuffer Class

Microsoft.VisualStudio.Data.Tools.SqlEditor.VSIntegration Namespace