IEditorSelection.GoTo 方法
適用於版本2
建立從起始位移到要選取之字元數的選取範圍。
命名空間: Microsoft.WebMatrix.Extensibility.Editor
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
Sub GoTo ( _
line As Integer, _
offsetFromStart As Integer, _
length As Integer _
)
'用途
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
)
參數
line
型別:System.Int32以零為基底的行索引
offsetFromStart
型別:System.Int32從 "line" 開始的位移
length
型別:System.Int32要選取的字元計數