Partager via


PSConsoleReadLine.ShellBackwardKillWord Method

Definition

Clear the input from the start of the current word to the cursor. If the cursor is between words, the input is cleared from the start of the previous word to the cursor. The cleared text is placed in the kill ring.

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

Parameters

arg
Object

Applies to