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
‘선언
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
- 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.