IEditorOperations2.MoveSelectedLinesUp 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 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
.