IEditorOperations::TransposeLine Method ()

 

Transposes the line containing the cursor with the next line.

Namespace:   Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

bool TransposeLine()

Return Value

Type: System::Boolean

true if the edit succeeded, otherwise false.

If the cursor at the last line, this method transposes the last two lines.

Return to top
Show: