Condividi tramite


IEditorOperations.TransposeCharacter Method

Transposes the character at the cursor with the next character.

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

Syntax

'Dichiarazione
Function TransposeCharacter As Boolean
bool TransposeCharacter()
bool TransposeCharacter()
abstract TransposeCharacter : unit -> bool 
function TransposeCharacter() : boolean

Return Value

Type: System.Boolean
true if the edit succeeded, otherwise false.

Remarks

If the cursor is at the start of the line, this method transposes the first two characters. If the cursor is at the end of the line, it transposes the last two characters.

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace