Compartilhar via


IEditorOperations2.MoveSelectedLinesUp Method

Definition

Moves the selected lines up above the line bordering the selection on top. Moving up from the top of the file will return true, however no changes will be made. Collapsed regions being moved, and being moved over, will remain collapsed. Moves involving readonly regions will result in no changes being made.

public:
 bool MoveSelectedLinesUp();
public:
 bool MoveSelectedLinesUp();
bool MoveSelectedLinesUp();
public bool MoveSelectedLinesUp ();
abstract member MoveSelectedLinesUp : unit -> bool
Public Function MoveSelectedLinesUp () As Boolean

Returns

true if the edit succeeded or no change was needed, otherwise false.

Applies to