Freigeben über


PSConsoleReadLine.ShellKillWord Method

Definition

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

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

Parameters

arg
Object

Applies to