IEditorOperations.TransposeCharacter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Transposes the character at the cursor with the next character. Transposes the first two characters when the cursor is at the start of the line. Transposes the last two characters when the cursor is at the end of the line.
public:
bool TransposeCharacter();
public:
bool TransposeCharacter();
bool TransposeCharacter();
public bool TransposeCharacter ();
abstract member TransposeCharacter : unit -> bool
Public Function TransposeCharacter () As Boolean
Returns
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.