IEditorOperations.GotoLine(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.