다음을 통해 공유


PSConsoleReadLine.BackwardKillWord 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 BackwardKillWord (ConsoleKeyInfo? key = default, object arg = default);
static member BackwardKillWord : Nullable<ConsoleKeyInfo> * obj -> unit
Public Shared Sub BackwardKillWord (Optional key As Nullable(Of ConsoleKeyInfo) = Nothing, Optional arg As Object = Nothing)

Parameters

arg
Object

Applies to