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)
Syntax
'Declaration
Function TransposeLine As Boolean
bool TransposeLine()
bool TransposeLine()
abstract TransposeLine : unit -> bool
function TransposeLine() : boolean
Return Value
Type: System.Boolean
true if the edit succeeded, otherwise false.
Remarks
If the cursor at the last line, this method transposes the last two lines.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.