共用方式為


Go To Line

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This dialog box allows you to move to a specific line in the active document. To access this dialog box, open a document for editing, then select Go To on the Edit menu.

Line number (1 - n) Allows you to enter the number of the line in the active document to which you want to move. The number entered must fall between 1 and n, the number of lines in the current document.

See Also

Setting Bookmarks in Code Finding and Replacing Text Writing Code