Freigeben über


PSConsoleReadLine.KillLine(Nullable<ConsoleKeyInfo>, Object) Method

Definition

Clear the input from the cursor to the end of the input. The cleared text is placed in the kill ring.

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

Parameters

arg
Object

Applies to