Udostępnij za pośrednictwem


IEditorOperations.TransposeCharacter Method

Definition

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.

Applies to