Sdílet prostřednictvím


IEditorOperations.MoveToTopOfView(Boolean) Method

Definition

Moves the caret to the first fully-visible line of the view.

public:
 void MoveToTopOfView(bool extendSelection);
public:
 void MoveToTopOfView(bool extendSelection);
void MoveToTopOfView(bool extendSelection);
public void MoveToTopOfView (bool extendSelection);
abstract member MoveToTopOfView : bool -> unit
Public Sub MoveToTopOfView (extendSelection As Boolean)

Parameters

extendSelection
Boolean

If true, the selection is extended when the caret is moved; if false, the selection is not extended.

Applies to