PSConsoleReadLine.DeleteCharOrExit Method

Definition

Delete the character under the cursor, or if the line is empty, exit the process.

public static void DeleteCharOrExit (ConsoleKeyInfo? key = default, object arg = default);
static member DeleteCharOrExit : Nullable<ConsoleKeyInfo> * obj -> unit
Public Shared Sub DeleteCharOrExit (Optional key As Nullable(Of ConsoleKeyInfo) = Nothing, Optional arg As Object = Nothing)

Parameters

arg
Object

Applies to