PSConsoleReadLine.KillWord(Nullable<ConsoleKeyInfo>, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 KillWord (ConsoleKeyInfo? key = default, object arg = default);
static member KillWord : Nullable<ConsoleKeyInfo> * obj -> unit
Public Shared Sub KillWord (Optional key As Nullable(Of ConsoleKeyInfo) = Nothing, Optional arg As Object = Nothing)
Parameters
- key
- Nullable<ConsoleKeyInfo>
- arg
- Object