The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Go To Command

Moves the cursor to the specified line.

Edit.GoTo [linenumber]


Optional. An integer representing the number of the line to go to.


The line numbering begins at one. If the value of linenumber is less than one, the first line displays. If the value of linenumber is greater than the number of the last line, the last line displays.

If a value for linenumber is not specified, the Go To Line dialog box displays.

The alias for this command is GoToLn.


>Edit.GoTo 125

See Also

Visual Studio Commands with Arguments | Command Window | Find/Command Box | Pre-defined Visual Studio Command Aliases

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft