IEditorOperations2::MoveSelectedLinesUp Method ()
Visual Studio 2015
Moves the selected lines up above the line bordering the selection on top. Moving up from the top of the file returns true, but no changes are made. Collapsed regions being moved, and being moved over, remain collapsed. Moves involving read-only regions result in no changes being made.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Return Value
Type: System::Booleantrue if the edit succeeded or no change was needed, otherwise false.
Show: