Partager via


PSConsoleReadLine.Delete(Int32, Int32) Method

Definition

Delete some text at the given position. Supports undo.

public:
 static void Delete(int start, int length);
public:
 static void Delete(int start, int length);
 static void Delete(int start, int length);
public static void Delete (int start, int length);
static member Delete : int * int -> unit
Public Shared Sub Delete (start As Integer, length As Integer)

Parameters

start
Int32

The start position to delete

length
Int32

The length to delete

Applies to