Condividi tramite


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

'Dichiarazione
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

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace