Freigeben über


Completor.TypeDelete(Int32) Method

Definition

Performs the specified number of delete operations on the line being edited.

public:
 void TypeDelete(int len);
public:
 void TypeDelete(int len);
void TypeDelete(int len);
public void TypeDelete (int len);
member this.TypeDelete : int -> unit
Public Sub TypeDelete (len As Integer)

Parameters

len
Int32

[in] The number of delete operations to perform.

Remarks

A delete operation deletes the character at the current position and shortens the line by the number of characters equal to the number of deletion operations. The internal caret position does not change.

This method is the equivalent of typing the Delete key.

If macro recording is active, a delete operation of the specified length is added to the macro.

The delete operation cannot delete past the end of the line and subsequent delete operations at the same position do nothing. However, all delete operations are passed on to the macro recorder.

Applies to