IEditorSelection.GoTo Method

Applies to v2.

Creates a selection from a staring offset to the number of characters to select.

Namespace:  Microsoft.WebMatrix.Extensibility.Editor
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Sub GoTo ( _
    line As Integer, _
    offsetFromStart As Integer, _
    length As Integer _
)
'Usage
Dim instance As IEditorSelection 
Dim line As Integer 
Dim offsetFromStart As Integer 
Dim length As Integer

instance.GoTo(line, offsetFromStart, length)
void GoTo(
    int line,
    int offsetFromStart,
    int length
)
void GoTo(
    int line, 
    int offsetFromStart, 
    int length
)
abstract GoTo : 
        line:int * 
        offsetFromStart:int * 
        length:int -> unit
function GoTo(
    line : int, 
    offsetFromStart : int, 
    length : int
)

Parameters

  • offsetFromStart
    Type: System.Int32

    Offset from the beginning of "line"

See Also

Reference

IEditorSelection Interface

Microsoft.WebMatrix.Extensibility.Editor Namespace