다음을 통해 공유


IEditorOperations.GotoLine(Int32) Method

Definition

Moves the caret to the start of the specified line.

public:
 void GotoLine(int lineNumber);
public:
 void GotoLine(int lineNumber);
void GotoLine(int lineNumber);
public void GotoLine (int lineNumber);
abstract member GotoLine : int -> unit
Public Sub GotoLine (lineNumber As Integer)

Parameters

lineNumber
Int32

The line number to which to move the caret.

Exceptions

lineNumber is less than zero or greater than the line number of the last line in the text buffer.

Applies to