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
line
Type: System.Int32Zero-based line index
offsetFromStart
Type: System.Int32Offset from the beginning of "line"
length
Type: System.Int32Count of characters to select